File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 rev : v6.0.0
55 hooks : # https://github.com/pre-commit/pre-commit-hooks/#hooks-available
66 - id : check-json
7+ - id : check-toml
78 - id : double-quote-string-fixer
89 - id : end-of-file-fixer
910 - id : trailing-whitespace
@@ -21,16 +22,6 @@ repos:
2122 rev : v0.15.8
2223 hooks :
2324 - id : ruff
24- args : # https://docs.astral.sh/ruff/rules/
25- - --select=E # enforce all pycodestyle error-level rules
26- - --select=F # enforce all Pyflakes rules (logic)
27- - --select=W # enforce all pycodestyle warning-level rules
28- - --ignore=E401 # allow multiple imports on one line
29- - --ignore=E402 # allow module level import at top of file
30- - --ignore=E701 # allow multiple statements on one line (colon)
31- - --ignore=E702 # allow multiple statements on one line (semicolon)
32- - --ignore=E722 # allow bare exceptions
33- - --line-length=120
3425
3526 - repo : https://github.com/adrienverge/yamllint
3627 rev : v1.38.0
Original file line number Diff line number Diff line change 1+ [lint ]
2+ select = [
3+ " E" , # enforce all pycodestyle error-level rules
4+ " F" , # enforce all Pyflakes rules (logic)
5+ " W" # enforce all pycodestyle warning-level rules
6+ ]
7+ ignore = [ # https://docs.astral.sh/ruff/rules/
8+ " E401" , # allow multiple imports on one line
9+ " E402" , # allow module level import at top of file
10+ " E701" , # allow multiple statements on one line (colon)
11+ " E702" , # allow multiple statements on one line (semicolon)
12+ " E722" # allow bare exceptions
13+ ]
14+
15+ [lint .pycodestyle ]
16+ max-line-length = 120
Original file line number Diff line number Diff line change 11nox >= 2026.2.9
22pre-commit >= 4.5.1 ,< 5
3+ ruff >= 0.15.8 ,< 1
34zipp >= 3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
You can’t perform that action at this time.
0 commit comments