summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Ganssle <git@m.ganssle.io>2022-12-03 13:14:35 -0500
committerPaul Ganssle <git@m.ganssle.io>2022-12-03 14:16:15 -0500
commit753660202337c4ea12b52aebeb485c9cf260264a (patch)
treedec3386fb4f96d3a49bdb9fa8bffc34eafad70e0
parent40bda2a1b4139d32f5d7c87c6d813b61d2956eda (diff)
downloaddateutil-git-753660202337c4ea12b52aebeb485c9cf260264a.tar.gz
Add pre-commit configuration
-rw-r--r--.pre-commit-config.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..52acb6a
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,14 @@
+repos:
+ - repo: https://github.com/akaihola/darker
+ rev: 1.5.1
+ hooks:
+ - id: darker
+ args: [--isort]
+ additional_dependencies:
+ - "isort>5.9"
+
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.4.0
+ hooks:
+ - id: trailing-whitespace
+ - id: debug-statements