summaryrefslogtreecommitdiffstats
path: root/.pre-commit-hatch.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-hatch.yaml')
-rw-r--r--.pre-commit-hatch.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.pre-commit-hatch.yaml b/.pre-commit-hatch.yaml
new file mode 100644
index 0000000..fb7d25e
--- /dev/null
+++ b/.pre-commit-hatch.yaml
@@ -0,0 +1,9 @@
+repos:
+- repo: local
+ hooks:
+ - id: fix
+ name: Apply code fixes
+ entry: hatch fmt
+ language: system
+ types: [python]
+ require_serial: true