Add some ruff autofixes to CI (#10458)

This commit is contained in:
Alex Waygood
2023-07-20 13:41:52 +01:00
committed by GitHub
parent a04cb3b058
commit 79e092e133
8 changed files with 62 additions and 6 deletions

View File

@@ -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: