Bump ruff to 0.0.254 (#89273)
parent
8c282e2b0d
commit
ff2a88b426
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||
rev: v0.0.253
|
||||
rev: v0.0.254
|
||||
hooks:
|
||||
- id: ruff
|
||||
args:
|
||||
|
|
|
@ -526,6 +526,7 @@ class ESPHomeClient(BaseBleakClient):
|
|||
The characteristic to read from, specified by either integer
|
||||
handle, UUID or directly by the BleakGATTCharacteristic
|
||||
object representing it.
|
||||
**kwargs: Unused
|
||||
|
||||
Returns:
|
||||
(bytearray) The read data.
|
||||
|
@ -542,6 +543,7 @@ class ESPHomeClient(BaseBleakClient):
|
|||
|
||||
Args:
|
||||
handle (int): The handle of the descriptor to read from.
|
||||
**kwargs: Unused
|
||||
|
||||
Returns:
|
||||
(bytearray) The read data.
|
||||
|
|
|
@ -272,6 +272,8 @@ ignore = [
|
|||
"D407", # Section name underlining
|
||||
"E501", # line too long
|
||||
"E731", # do not assign a lambda expression, use a def
|
||||
# Ignored due to performance: https://github.com/charliermarsh/ruff/issues/2923
|
||||
"UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)`
|
||||
]
|
||||
|
||||
[tool.ruff.flake8-import-conventions.extend-aliases]
|
||||
|
|
|
@ -14,5 +14,5 @@ pycodestyle==2.10.0
|
|||
pydocstyle==6.2.3
|
||||
pyflakes==3.0.1
|
||||
pyupgrade==3.3.1
|
||||
ruff==0.0.253
|
||||
ruff==0.0.254
|
||||
yamllint==1.28.0
|
||||
|
|
Loading…
Reference in New Issue