Enable Ruff INP001 (#115082)
parent
f8b6629b26
commit
376aafc83e
|
@ -0,0 +1 @@
|
|||
"""Helpers for KNX."""
|
|
@ -0,0 +1 @@
|
|||
"""States repairs for Recorder."""
|
|
@ -1,6 +1,11 @@
|
|||
# This extend our general Ruff rules specifically for tests
|
||||
extend = "../pyproject.toml"
|
||||
|
||||
[lint]
|
||||
extend-ignore = [
|
||||
"INP001", # File is part of an implicit namespace package. Add an `__init__.py`.
|
||||
]
|
||||
|
||||
[lint.isort]
|
||||
known-third-party = [
|
||||
"pylint",
|
||||
|
|
|
@ -627,6 +627,7 @@ select = [
|
|||
"F", # pyflakes/autoflake
|
||||
"G", # flake8-logging-format
|
||||
"I", # isort
|
||||
"INP", # flake8-no-pep420
|
||||
"ISC", # flake8-implicit-str-concat
|
||||
"ICN001", # import concentions; {name} should be imported as {asname}
|
||||
"LOG", # flake8-logging
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
extend = "../../ruff.toml"
|
||||
|
||||
[lint]
|
||||
extend-ignore = [
|
||||
"INP001", # File is part of an implicit namespace package. Add an `__init__.py`.
|
||||
]
|
|
@ -0,0 +1,6 @@
|
|||
extend = "../../ruff.toml"
|
||||
|
||||
[lint]
|
||||
extend-ignore = [
|
||||
"INP001", # File is part of an implicit namespace package. Add an `__init__.py`.
|
||||
]
|
Loading…
Reference in New Issue