Skip to content

Commit d8e399e

Browse files
committed
Indented ruff args, added avail hooks URL comment to pre-commit-hooks
1 parent 6a42d2a commit d8e399e

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.pre-commit-config.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ repos:
22

33
- repo: https://github.com/pre-commit/pre-commit-hooks
44
rev: v6.0.0
5-
hooks:
5+
hooks: # https://github.com/pre-commit/pre-commit-hooks/#hooks-available
66
- id: check-json
77
- id: check-toml
88
- id: double-quote-string-fixer
@@ -23,15 +23,15 @@ repos:
2323
hooks:
2424
- id: ruff
2525
args: # https://docs.astral.sh/ruff/rules/
26-
- --select=E # enforce all pycodestyle error-level rules
27-
- --select=F # enforce all Pyflakes rules (logic)
28-
- --select=W # enforce all pycodestyle warning-level rules
29-
- --ignore=E401 # allow multiple imports on one line
30-
- --ignore=E402 # allow module level import at top of file
31-
- --ignore=E701 # allow multiple statements on one line (colon)
32-
- --ignore=E702 # allow multiple statements on one line (semicolon)
33-
- --ignore=E722 # allow bare exceptions
34-
- --line-length=120
26+
- --select=E # enforce all pycodestyle error-level rules
27+
- --select=F # enforce all Pyflakes rules (logic)
28+
- --select=W # enforce all pycodestyle warning-level rules
29+
- --ignore=E401 # allow multiple imports on one line
30+
- --ignore=E402 # allow module level import at top of file
31+
- --ignore=E701 # allow multiple statements on one line (colon)
32+
- --ignore=E702 # allow multiple statements on one line (semicolon)
33+
- --ignore=E722 # allow bare exceptions
34+
- --line-length=120
3535

3636
- repo: https://github.com/adrienverge/yamllint
3737
rev: v1.38.0

0 commit comments

Comments
 (0)