mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-31 16:44:25 +08:00
Add some ruff autofixes to CI (#10458)
This commit is contained in:
@@ -26,6 +26,11 @@ repos:
|
||||
hooks:
|
||||
- id: isort
|
||||
name: isort (python)
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.0.278 # must match requirements-tests.txt
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--exit-non-zero-on-fix]
|
||||
- repo: https://github.com/pycqa/flake8
|
||||
rev: 6.0.0 # must match requirements-tests.txt
|
||||
hooks:
|
||||
|
||||
Reference in New Issue
Block a user