Add pre-commits to build pipeline
This commit is contained in:
@@ -25,6 +25,11 @@ steps:
|
|||||||
versionSpec: '$(python.version)'
|
versionSpec: '$(python.version)'
|
||||||
displayName: 'Use Python $(python.version)'
|
displayName: 'Use Python $(python.version)'
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
pre-commit install
|
||||||
|
pre-commit run --all-files
|
||||||
|
displayName: 'Run pre-commits'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
python -m pip install --upgrade pip==23.0.1
|
python -m pip install --upgrade pip==23.0.1
|
||||||
pip install wheel==0.38.4 --upgrade
|
pip install wheel==0.38.4 --upgrade
|
||||||
|
|||||||
Reference in New Issue
Block a user