File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 1616
1717repos :
1818 - repo : https://github.com/psf/black
19- rev : 23.7.0
19+ rev : 24.1.1
2020 hooks :
2121 - id : black
2222 language_version : python3.10
2323 - repo : https://github.com/PyCQA/isort
24- rev : 5.12.0
24+ rev : 5.13.2
2525 hooks :
2626 - id : isort
2727 language_version : python3.10
Original file line number Diff line number Diff line change @@ -19,14 +19,10 @@ jobs:
1919 pool :
2020 vmImage : ' ubuntu-22.04'
2121 steps :
22- - task : UsePythonVersion@0
23- inputs :
24- versionSpec : ' 3.10'
25- addToPath : true
2622 - script : |
27- python -m pip install --upgrade pip setuptools
28- pip install isort black
29- isort --check . && black --check .
23+ python -m pip install --upgrade pip pre-commit==4.0.1
24+ pre-commit install
25+ pre-commit run --all-files --show-diff-on-failure
3026 displayName: 'Linting'
3127 - job : Linux
3228 dependsOn : Lint
You can’t perform that action at this time.
0 commit comments