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
|
# This extend our general Ruff rules specifically for tests
|
||||||
extend = "../pyproject.toml"
|
extend = "../pyproject.toml"
|
||||||
|
|
||||||
|
[lint]
|
||||||
|
extend-ignore = [
|
||||||
|
"INP001", # File is part of an implicit namespace package. Add an `__init__.py`.
|
||||||
|
]
|
||||||
|
|
||||||
[lint.isort]
|
[lint.isort]
|
||||||
known-third-party = [
|
known-third-party = [
|
||||||
"pylint",
|
"pylint",
|
||||||
|
|
|
@ -627,6 +627,7 @@ select = [
|
||||||
"F", # pyflakes/autoflake
|
"F", # pyflakes/autoflake
|
||||||
"G", # flake8-logging-format
|
"G", # flake8-logging-format
|
||||||
"I", # isort
|
"I", # isort
|
||||||
|
"INP", # flake8-no-pep420
|
||||||
"ISC", # flake8-implicit-str-concat
|
"ISC", # flake8-implicit-str-concat
|
||||||
"ICN001", # import concentions; {name} should be imported as {asname}
|
"ICN001", # import concentions; {name} should be imported as {asname}
|
||||||
"LOG", # flake8-logging
|
"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