summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-02-11 15:22:26 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-02-11 15:22:26 +0100
commitb1865cabf623a9080af258baf6cb3423fcbc546f (patch)
tree45a1ecf2d61acb0623f18631dde2c33985a96ad3 /.pre-commit-config.yaml
parent4b392f95c8528bdedb478921b173f9abaac6443f (diff)
pre-commit: Restrict python hooks to scripts/ directory
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 44ad074ab1..6b8aa8a551 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -82,10 +82,12 @@ repos:
rev: '3.7.9'
hooks:
- id: flake8
+ files: ^scripts/.*$
- repo: https://github.com/psf/black
rev: stable
hooks:
- id: black
+ files: ^scripts/.*$
- repo: local
hooks:
- id: qsscheck