File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: Static Analysis
33on :
44 pull_request :
55 push :
6- branches : [main]
76 workflow_dispatch :
87
98jobs :
@@ -18,18 +17,18 @@ jobs:
1817 with :
1918 python-version : ' 3.11'
2019
21- - name : Install Python dependencies
20+ - name : Install pipenv
2221 run : |
2322 pip install --upgrade pip
24- pip install black 'black[jupyter]' flake8 isort
25- pip install pre-commit
23+ pip install pipenv
2624
2725 # https://github.com/actions/checkout
2826 - name : Checkout quantifying
2927 uses : actions/checkout@v4
30- with :
31- path : quantifying
28+
29+ - name : Install Python dependencies
30+ # Install _only_ [dev-packages]
31+ run : pipenv sync --categories dev-packages --system
3232
3333 - name : pre-commit
3434 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 33default_language_version :
44 python : python3.11
55
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-
186repos :
197
208 - repo : https://github.com/pre-commit/pre-commit-hooks
21- rev : v4.1 .0
9+ rev : v4.6 .0
2210 hooks :
2311 - id : check-added-large-files
2412 - id : check-ast
You can’t perform that action at this time.
0 commit comments