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.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..6e0c147
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,20 @@
+repos:
+- repo: https://github.com/pycqa/isort
+ rev: 5.11.2
+ hooks:
+ - id: isort
+ name: isort (python)
+
+- repo: local
+ hooks:
+ - id: pylint
+ name: pylint
+ entry: pylint
+ language: system
+ types: [python]
+
+- repo: https://github.com/pre-commit/mirrors-yapf
+ rev: "v0.32.0" # Use the sha / tag you want to point at
+ hooks:
+ - id: yapf
+ additional_dependencies: ["toml"]