summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2021-08-18 12:36:06 +0200
committerJustin Mayer <entroP@gmail.com>2021-08-18 12:37:39 +0200
commitfe40d2912824845d6304b56721886fb7db6470ff (patch)
treeb3fe22deaf28a2b042f87eb1486b2ba5b2fb1fe1
parent5e9e1af94ef810336360ff83872f36ae61465dbc (diff)
downloadfeedgenerator-fe40d2912824845d6304b56721886fb7db6470ff.tar.gz
Add initial configuration for Pre-commit
-rw-r--r--.pre-commit-config.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..049ecc2
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,21 @@
+---
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.0.1
+ hooks:
+ - id: check-added-large-files
+ - id: check-ast
+ - id: check-case-conflict
+ - id: check-merge-conflict
+ - id: check-toml
+ - id: debug-statements
+ - id: detect-private-key
+ - id: end-of-file-fixer
+ - id: forbid-new-submodules
+ - id: trailing-whitespace
+
+ - repo: https://github.com/asottile/pyupgrade
+ rev: v2.23.3
+ hooks:
+ - id: pyupgrade
+ args: [--py36-plus]