summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2023-01-09 23:34:50 -0500
committerseth <[email protected]>2023-01-09 23:34:50 -0500
commita60707fcac4e46d58199f0aa82420061572fb1b5 (patch)
tree99ee4f3978fca27d543e5c789f099df62bacdd8c /.pre-commit-config.yaml
feat: initial commit
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"]