File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ exclude : _vendor|vendored
2
+ repos :
3
+ - repo : https://github.com/astral-sh/ruff-pre-commit
4
+ rev : v0.9.9
5
+ hooks :
6
+ - id : ruff-format
7
+ exclude : examples
8
+ - id : ruff
9
+ # args:
10
+ # - "--unsafe-fixes"
11
+ - repo : https://github.com/seddonym/import-linter
12
+ rev : v2.2
13
+ hooks :
14
+ - id : import-linter
15
+ stages : [manual]
16
+ - repo : https://github.com/python-jsonschema/check-jsonschema
17
+ rev : 0.31.2
18
+ hooks :
19
+ - id : check-github-workflows
20
+ - repo : https://github.com/pre-commit/pre-commit-hooks
21
+ rev : v5.0.0
22
+ # .py files are skipped cause already checked by other hooks
23
+ hooks :
24
+ - id : check-yaml
25
+ - id : check-toml
26
+ - id : check-merge-conflict
27
+ exclude : .*\.py
28
+ - id : end-of-file-fixer
29
+ exclude : .*\.py
30
+ - id : trailing-whitespace
31
+ # trailing whitespace has meaning in markdown https://www.markdownguide.org/hacks/#indent-tab
32
+ exclude : .*\.py|.*\.md
33
+ - id : mixed-line-ending
34
+ exclude : .*\.py
You can’t perform that action at this time.
0 commit comments