Skip to content

Commit db7c72a

Browse files
committed
Ignore __init__.py F401s, bump ruff
1 parent 9155e0e commit db7c72a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
33
# Ruff version.
4-
rev: v0.0.282
4+
rev: v0.0.283
55
hooks:
66
- id: ruff
77
args: [ --fix, --exit-non-zero-on-fix ]

pyproject.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,7 @@ fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN
7979
unfixable = []
8080

8181
# Same as Black.
82-
line-length = 100
82+
line-length = 100
83+
84+
[tool.ruff.per-file-ignores]
85+
"__init__.py" = ["F401"]

0 commit comments

Comments
 (0)