From e78d20787a03a4e33afc5ecc307a92645b6828bb Mon Sep 17 00:00:00 2001 From: Benoit Seignovert Date: Thu, 8 Feb 2024 14:59:23 +0100 Subject: [PATCH] Update pre-commit with pytest --- .pre-commit-config.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 890226e..8744436 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,3 +8,11 @@ repos: args: [ --fix ] # Run the formatter. - id: ruff-format + +- repo: local + hooks: + - id: pytest + name: pytest + entry: .venv/bin/pytest + language: script + files: \.py$