Run pycln as a pre-commit hook in CI (#8304)

This commit is contained in:
Alex Waygood
2022-07-18 08:27:28 +01:00
committed by GitHub
parent 64359528fc
commit 35616b439f
6 changed files with 14 additions and 6 deletions

View File

@@ -1,4 +1,9 @@
repos:
- repo: https://github.com/hadialqattan/pycln
rev: v2.0.2 # must match requirements-tests.txt
hooks:
- id: pycln
args: [--all, stubs, stdlib, tests, scripts]
- repo: https://github.com/psf/black
rev: 22.6.0 # must match requirements-tests.txt
hooks: