diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-02-03 22:54:56 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-02-03 22:54:56 +0100 |
commit | d2e8a3690faff7166e683a4d8a4d3b1c8e3a7a2f (patch) | |
tree | 5df9f46d8bb82f24ad8758647178f8551fb3a035 | |
parent | fa1c41679a4b8445ae024dcfbbaebd61abdfb886 (diff) |
pre-commit: Add linting and autoformatting for python
-rw-r--r-- | .pre-commit-config.yaml | 8 |
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 |