From 56f66dcd6e104dda78d05780306a79b334385260 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 16 Jan 2023 13:37:17 +0100 Subject: [PATCH] Run pytest only when at least one python file is changed --- .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 23b00c0..7b8d201 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,8 +7,8 @@ repos: name: pytest entry: python3 -m pytest tests language: system + types: [python] pass_filenames: false - always_run: true - repo: local hooks: - id: pylint