File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ strategy:
1111 python.version : ' 3.6'
1212 Python37 :
1313 python.version : ' 3.7'
14- # Python38:
15- # python.version: '3.8'
14+ Python38 :
15+ python.version : ' 3.8'
1616
1717steps :
1818- task : UsePythonVersion@0
@@ -21,29 +21,22 @@ steps:
2121 displayName : ' Use Python $(python.version)'
2222
2323- script : |
24- python -m pip install --upgrade pip
25- pip install -r requirements.txt
26- pip install pytest-azurepipelines
27- pre-commit install-hooks
24+ python -m pip install --upgrade pip poetry
25+ poetry install
2826 displayName : ' Install dependencies'
2927
3028- script : |
31- pre-commit run black --all-files
29+ poetry run pre-commit run black --all-files
3230 displayName : ' Code formating (black)'
3331
3432- script : |
35- pre-commit run flake8 --all-files
33+ poetry run pre-commit run flake8 --all-files
3634 displayName : ' Code formating (flake8)'
3735
3836- script : |
39- pre-commit run mypy --all-files
37+ poetry run pre-commit run mypy --all-files
4038 displayName : ' Typing checks (mypy)'
4139
4240- script : |
43- pre-commit run isort --all-files
41+ poetry run pre-commit run isort --all-files
4442 displayName : ' Order of imports (isort)'
45-
46- # - script: |
47- # pip install pytest pytest-azurepipelines
48- # pytest
49- # displayName: 'pytest'
You can’t perform that action at this time.
0 commit comments