From 04dfa034cc4fd13094db64fcadb019af820ba216 Mon Sep 17 00:00:00 2001 From: casper moyo Date: Wed, 11 Mar 2026 10:57:36 +0200 Subject: [PATCH] feature: pytest and git lint in pre-commit hook --- .pre-commit-config.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9aa1cee..775d728 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,3 +15,12 @@ repos: name: black (python code formatter) language: system types: [python] + + - repo: local + hooks: + - id: pytest + name: pytest (run tests) + entry: pytest -v --maxfail=1 --disable-warnings + language: system + types: [python] +