From 753660202337c4ea12b52aebeb485c9cf260264a Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Sat, 3 Dec 2022 13:14:35 -0500 Subject: Add pre-commit configuration --- .pre-commit-config.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .pre-commit-config.yaml 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 -- cgit v1.2.1