@@ -257,18 +257,10 @@ ignore = [
257
257
" PLR" , # Design related pylint codes
258
258
# Allow non-abstract empty methods in abstract base classes
259
259
" B027" ,
260
- # Use of `assert` detected
261
- " S101" ,
262
- # Possible hardcoded password
263
- " S105" , " S106" ,
264
- # `print` found
265
- " T201" ,
260
+ " T201" , # `print` found
266
261
# Unnecessary `dict` call (rewrite as a literal)
267
262
" C408" ,
268
- # Use `contextlib.suppress(ValueError)` instead of try-except-pass
269
- " SIM105" ,
270
- # `try`-`except`-`pass` detected
271
- " S110" ,
263
+ " SIM105" , # Use `contextlib.suppress(ValueError)` instead of try-except-pass
272
264
# Mutable class attributes should be annotated with `typing.ClassVar`
273
265
" RUF012" ,
274
266
# Unused function argument:
@@ -277,21 +269,11 @@ ignore = [
277
269
" ARG002" ,
278
270
# `open()` should be replaced by `Path.open()`
279
271
" PTH123" ,
280
- # use `X | Y` for type annotations, this does not works for dynamic getting type hints on older python
281
- " UP007" ,
272
+ " UP007" , # use `X | Y` for type annotations, this does not works for dynamic getting type hints on older python
282
273
" UP031" , # Use format specifiers instead of percent format
283
274
" PT023" , # Use `@pytest.mark.skip` over `@pytest.mark.skip()`
284
275
" PT001" , # autofixable: Use `@pytest.fixture` over `@pytest.fixture()`
285
276
]
286
- unfixable = [
287
- # Don't touch print statements
288
- " T201" ,
289
- # Don't touch noqa lines
290
- " RUF100" ,
291
- # Don't touch imports
292
- " F401" ,
293
- " F403"
294
- ]
295
277
296
278
[tool .ruff .lint .per-file-ignores ]
297
279
# B011 Do not call assert False since python -O removes these calls
0 commit comments