mirror of
https://github.com/mx42/home-assistant-ecocito.git
synced 2026-01-14 13:59:50 +01:00
chore: update ruff to 0.11.0
This commit is contained in:
@@ -8,7 +8,7 @@ select = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
ignore = [
|
ignore = [
|
||||||
"ANN101", # Missing type annotation for `self` in method
|
# "ANN101", # Missing type annotation for `self` in method
|
||||||
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
||||||
"ARG001", # ARG001, we don't use i
|
"ARG001", # ARG001, we don't use i
|
||||||
"D203", # no-blank-line-before-class (incompatible with formatter)
|
"D203", # no-blank-line-before-class (incompatible with formatter)
|
||||||
@@ -17,9 +17,9 @@ ignore = [
|
|||||||
"ISC001", # incompatible with formatter
|
"ISC001", # incompatible with formatter
|
||||||
|
|
||||||
# Moving imports into type-checking blocks can mess with pytest.patch()
|
# Moving imports into type-checking blocks can mess with pytest.patch()
|
||||||
"TCH001", # Move application import {} into a type-checking block
|
"TC001", # Move application import {} into a type-checking block
|
||||||
"TCH002", # Move third-party import {} into a type-checking block
|
"TC002", # Move third-party import {} into a type-checking block
|
||||||
"TCH003", # Move standard library import {} into a type-checking block
|
"TC003", # Move standard library import {} into a type-checking block
|
||||||
|
|
||||||
"TRY003", # Avoid specifying long messages outside the exception class
|
"TRY003", # Avoid specifying long messages outside the exception class
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ beautifulsoup4
|
|||||||
colorlog==6.8.2
|
colorlog==6.8.2
|
||||||
homeassistant==2024.6.0
|
homeassistant==2024.6.0
|
||||||
pip>=21.3.1
|
pip>=21.3.1
|
||||||
ruff==0.6.7
|
ruff==0.11.0
|
||||||
|
|||||||
Reference in New Issue
Block a user