From d5926e5cb99f339350f009f7c8c331e48b2305c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Tue, 21 Jan 2025 18:59:51 +0100 Subject: [PATCH] Use --pytest-test-first --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dd7e9f0..e37899f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: