Skip to content

Commit 95d574f

Browse files
committed
Update ruff config
1 parent 9913d54 commit 95d574f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruff.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ ignore = [
4949
'RUF015', # not always more readable, and we don't do it for huge lists
5050
'RUF022', # autofix messes up our formatting instead of just sorting
5151
'RUF027', # also triggers on i18n functions -> too noisy for now
52-
'RUF035', # somewhat noisy and many FPs: see https://github.com/astral-sh/ruff/issues/14523
5352
'RUF052', # we often use underscore-prefixed variables in tests and to cache regexps in function definitions
5453
'UP038', # it looks kind of weird and it slower than a tuple
5554
'D205', # too many docstrings which have no summary line
@@ -66,6 +65,7 @@ ignore = [
6665
'S405', # we don't use lxml in unsafe ways
6766
'S603', # useless, triggers on *all* subprocess calls: https://github.com/astral-sh/ruff/issues/4045
6867
'S607', # we trust the PATH to be sane
68+
'S704', # somewhat noisy and many FPs: see https://github.com/astral-sh/ruff/issues/14523
6969
'B011', # we don't run python with `-O` (also see S101)
7070
'B904', # possibly useful but too noisy
7171
'COM812', # trailing commas on multiline lists are nice, but we have 2.5k violations

0 commit comments

Comments
 (0)