@@ -489,42 +489,13 @@ lint.select = [
489489
490490lint.ignore = [
491491 # Plugwise_usb todolist
492- " D100" , # Missing docstring in public FIXFOR171
493- " D102" , # "undocumented-public-method", # D102 FIXFOR171
494- " D107" , # "undocumented-public-init", # D107 FIXFOR171
495- " D210" , # whitespace in docstring FIXFOR171
496- " D212" , # "multi-line-summary-first-line", # D212 FIXFOR171
497- " F401" , # "unused-import", # F401 FIXFOR171
498- " UP031" , # "printf-string-formatting", # UP031 FIXFOR171
499492 " UP047" , # "non-pep695-generic-function", # UP047 FIXFOR171
500- " E711" , # "none-comparison", # E711 FIXFOR171
501- " W293" , # blank line contains whitespaace FIXFOR171
502- " UP018" , # FIXFOR171 unnecessary int call
503- " W291" , # FIXFOR171 trailing whitespace
504- " I001" , # FIXFOR171 import block is unsorted or unformatted
505- " D204" , # FIXFOR171 blank line required after class docstring
506- " D413" , # FIXFOR171 missing blank line after last section
507493
508494 # Generic
509- " D202" , # No blank lines allowed after function docstring
510495 " D203" , # 1 blank line required before class docstring
511496 " D213" , # Multi-line docstring summary should start at the second line
512- " D406" , # Section name should end with a newline
513- " D407" , # Section name underlining
514497 " E501" , # line too long
515- " E731" , # do not assign a lambda expression, use a def
516- # False positives https://github.com/astral-sh/ruff/issues/5386
517- " PLC0208" , # Use a sequence type instead of a `set` when iterating over values
518- " PLR0911" , # Too many return statements ({returns} > {max_returns})
519- " PLR0912" , # Too many branches ({branches} > {max_branches})
520- " PLR0913" , # Too many arguments to function call ({c_args} > {max_args})
521- " PLR0915" , # Too many statements ({statements} > {max_statements})
522498 " PLR2004" , # Magic value used in comparison, consider replacing {value} with a constant variable
523- " PLW2901" , # Outer {outer_kind} variable {name} overwritten by inner {inner_kind} target
524- " UP006" , # keep type annotation style as is
525- " UP007" , # keep type annotation style as is
526- # Ignored due to performance: https://github.com/charliermarsh/ruff/issues/2923
527- # "UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)`
528499]
529500
530501exclude = []
0 commit comments