diff options
author | Paul Ganssle <git@m.ganssle.io> | 2022-12-03 13:14:35 -0500 |
---|---|---|
committer | Paul Ganssle <git@m.ganssle.io> | 2022-12-03 14:16:15 -0500 |
commit | 753660202337c4ea12b52aebeb485c9cf260264a (patch) | |
tree | dec3386fb4f96d3a49bdb9fa8bffc34eafad70e0 | |
parent | 40bda2a1b4139d32f5d7c87c6d813b61d2956eda (diff) | |
download | dateutil-git-753660202337c4ea12b52aebeb485c9cf260264a.tar.gz |
Add pre-commit configuration
-rw-r--r-- | .pre-commit-config.yaml | 14 |
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 |