Skip to content

Commit 4a82f9a

Browse files
committed
Ignored some more rules
Signed-off-by: Florian <[email protected]>
1 parent 51258fc commit 4a82f9a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,19 @@ select = [
156156
ignore = [
157157
"C403", # Unnecessary `list()` call (rewrite as a literal)
158158
"C408", # Unnecessary `dict()` call (rewrite as a literal)
159+
"C413", # Unnecessary `reversed()` call around `sorted()`
159160
"C416", # Unnecessary set comprehension (rewrite using `set()`)
160161
"E501", # Line too long, handled by ruff formatter
162+
"E741", # Ambiguous variable name: `l`
161163
"D107", # "Missing docstring in __init__",
162164
"F401", # imported but unused; consider using `importlib.util.find_spec` to test for "
163165
"F811", # "redefinition of the same function"
164166
"PL", # Pylint
167+
"RUF002", # Docstring contains ambiguous `‑` (NON-BREAKING HYPHEN).
168+
"RUF003", # Comment contains ambiguous `‑` (NON-BREAKING HYPHEN).
169+
"RUF005", # Consider ... instead of concatenation
165170
"RUF012", # Mutable Class Attributes
171+
"RUF034", # Useless `if`-`else` condition
166172
"UP006", # List vs list, etc
167173
"UP007", # Option and Union
168174
"UP015", # Unnecessary mode argument

0 commit comments

Comments
 (0)