Pin dependencies of pre-commit
This commit is contained in:
@@ -44,7 +44,7 @@ jobs:
|
|||||||
|
|
||||||
# Fail the build if the pre-commit hooks don't pass. Note: if you run pre-commit install locally, these hooks will
|
# Fail the build if the pre-commit hooks don't pass. Note: if you run pre-commit install locally, these hooks will
|
||||||
# execute automatically every time before you commit, ensuring the build never fails at this step!
|
# execute automatically every time before you commit, ensuring the build never fails at this step!
|
||||||
- run: pip install pre-commit==1.11.2
|
- run: pip install pre-commit==1.11.2 cfgv==2.0.1 yapf
|
||||||
- run: pre-commit install
|
- run: pre-commit install
|
||||||
- run: pre-commit run --all-files
|
- run: pre-commit run --all-files
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user