We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0d385e commit bb846b0Copy full SHA for bb846b0
.pre-commit-config.yaml
@@ -0,0 +1,36 @@
1
+default_stages: [ commit ]
2
+repos:
3
+
4
+ - repo: local
5
+ hooks:
6
+ - id: code-format
7
+ name: code-format
8
+ types: [ python ]
9
+ pass_filenames: false
10
+ language: system
11
+ entry: poetry run nox -s fix
12
13
14
15
+ - id: type-check
16
+ name: type-check
17
18
19
20
+ entry: poetry run nox -s type-check
21
22
23
24
+ - id: lint
25
+ name: lint
26
27
28
29
+ entry: poetry run nox -s lint
30
31
+ - repo: https://github.com/pre-commit/pre-commit-hooks
32
+ rev: v4.4.0
33
34
+ - id: check-yaml
35
+ - id: end-of-file-fixer
36
+ - id: trailing-whitespace
0 commit comments