summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-02-03 22:54:56 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-02-03 22:54:56 +0100
commitd2e8a3690faff7166e683a4d8a4d3b1c8e3a7a2f (patch)
tree5df9f46d8bb82f24ad8758647178f8551fb3a035 /.pre-commit-config.yaml
parentfa1c41679a4b8445ae024dcfbbaebd61abdfb886 (diff)
pre-commit: Add linting and autoformatting for python
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index bf047356e6..840b7a6d3a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -78,6 +78,14 @@ repos:
stages:
- commit
- manual
+- repo: https://gitlab.com/pycqa/flake8
+ rev: '3.7.9'
+ hooks:
+ - id: flake8
+- repo: https://github.com/psf/black
+ rev: stable
+ hooks:
+ - id: black
- repo: local
hooks:
- id: qsscheck