File tree 2 files changed +7
-19
lines changed
2 files changed +7
-19
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,18 @@ jobs:
18
18
with :
19
19
python-version : ' 3.11'
20
20
21
- - name : Install Python dependencies
21
+ - name : Install pipenv
22
22
run : |
23
23
pip install --upgrade pip
24
- pip install black 'black[jupyter]' flake8 isort
25
- pip install pre-commit
24
+ pip install pipenv
26
25
27
26
# https://github.com/actions/checkout
28
27
- name : Checkout quantifying
29
28
uses : actions/checkout@v4
30
- with :
31
- path : quantifying
29
+
30
+ - name : Install Python dependencies
31
+ # Install _only_ [dev-packages]
32
+ run : pipenv sync --categories dev-packages --system
32
33
33
34
- name : pre-commit
34
35
run : pre-commit run --show-diff-on-failure --color=always --all-files
35
- working-directory : ./quantifying
Original file line number Diff line number Diff line change 3
3
default_language_version :
4
4
python : python3.11
5
5
6
- ci :
7
- autofix_commit_msg : |
8
- [pre-commit.ci] auto fixes from pre-commit.com hooks
9
-
10
- for more information, see https://pre-commit.ci
11
- autofix_prs : true
12
- autoupdate_branch : ' '
13
- autoupdate_commit_msg : ' [pre-commit.ci] pre-commit autoupdate'
14
- autoupdate_schedule : weekly
15
- skip : []
16
- submodules : false
17
-
18
6
repos :
19
7
20
8
- repo : https://github.com/pre-commit/pre-commit-hooks
21
- rev : v4.1 .0
9
+ rev : v4.6 .0
22
10
hooks :
23
11
- id : check-added-large-files
24
12
- id : check-ast
You can’t perform that action at this time.
0 commit comments