summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..ff6899a
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,11 @@
1# See https://pre-commit.com for more information
2# See https://pre-commit.com/hooks.html for more hooks
3repos:
4- repo: https://github.com/pre-commit/pre-commit-hooks
5 rev: v1.2.1-1
6 hooks:
7 - id: check-added-large-files
8 - id: end-of-file-fixer
9 - id: flake8
10 args: ['--config=setup.cfg']
11 - id: trailing-whitespace