From 986d34321fc33b523832ae48b36bd99aadb7b3f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= <tlovinator@gmail.com>
Date: Mon, 10 Feb 2025 04:32:59 +0100
Subject: [PATCH] Fix argument syntax for pytest in pre-commit configuration

---
 .pre-commit-config.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9414da4..a3c42c0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -26,7 +26,7 @@ repos:
       - id: end-of-file-fixer
       - id: mixed-line-ending
       - id: name-tests-test
-        args: [-pytest-test-first]
+        args: [--pytest-test-first]
       - id: trailing-whitespace
 
   # Run Pyupgrade on all Python files. This will upgrade the code to Python 3.12.