mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-07 12:03:24 +08:00
Run pycln as a pre-commit hook in CI (#8304)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user