Use Ruff for from __future__ import annotations checks (#10910)

This commit is contained in:
Avasam
2023-10-19 05:40:41 -04:00
committed by GitHub
parent 3cb1a8faed
commit 21fcd8960f
5 changed files with 18 additions and 9 deletions

View File

@@ -20,10 +20,10 @@ repos:
- id: isort
name: isort (python)
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.0 # must match requirements-tests.txt
rev: v0.1.0 # must match requirements-tests.txt and tests.yml
hooks:
- id: ruff
args: [--exit-non-zero-on-fix]
args: [--exit-non-zero-on-fix, --fix-only]
- repo: https://github.com/pycqa/flake8
rev: 6.1.0 # must match requirements-tests.txt
hooks: