Use --pytest-test-first

This commit is contained in:
2025-01-21 18:59:51 +01:00
parent b25f18c7fb
commit d5926e5cb9

View File

@ -3,6 +3,7 @@ repos:
rev: v3.1.0
hooks:
- id: add-trailing-comma
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
@ -18,18 +19,22 @@ repos:
- id: end-of-file-fixer
- id: mixed-line-ending
- id: name-tests-test
args: ["--pytest-test-first"]
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.1
hooks:
- id: pyupgrade
args: ["--py310-plus"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.2
hooks:
- id: ruff-format
- id: ruff
args: ["--fix", "--exit-non-zero-on-fix"]
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks: