mirror of
https://github.com/esphome/esphome.git
synced 2025-07-24 20:26:35 +00:00
Bump flake8 from 7.0.0 to 7.2.0 (#8493)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
5ceba618f6
commit
f3b1b11eba
@ -12,11 +12,11 @@ repos:
|
|||||||
# Run the formatter.
|
# Run the formatter.
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
- repo: https://github.com/PyCQA/flake8
|
- repo: https://github.com/PyCQA/flake8
|
||||||
rev: 6.1.0
|
rev: 7.2.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- flake8-docstrings==1.5.0
|
- flake8-docstrings==1.7.0
|
||||||
- pydocstyle==5.1.1
|
- pydocstyle==5.1.1
|
||||||
files: ^(esphome|tests)/.+\.py$
|
files: ^(esphome|tests)/.+\.py$
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
@ -32,8 +32,6 @@ class MqttStatusThread(threading.Thread):
|
|||||||
topic = "esphome/discover/#"
|
topic = "esphome/discover/#"
|
||||||
|
|
||||||
def on_message(client, userdata, msg):
|
def on_message(client, userdata, msg):
|
||||||
nonlocal current_entries
|
|
||||||
|
|
||||||
payload = msg.payload.decode(errors="backslashreplace")
|
payload = msg.payload.decode(errors="backslashreplace")
|
||||||
if len(payload) > 0:
|
if len(payload) > 0:
|
||||||
data = json.loads(payload)
|
data = json.loads(payload)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
pylint==3.3.6
|
pylint==3.3.6
|
||||||
flake8==7.0.0 # also change in .pre-commit-config.yaml when updating
|
flake8==7.2.0 # also change in .pre-commit-config.yaml when updating
|
||||||
ruff==0.11.2 # also change in .pre-commit-config.yaml when updating
|
ruff==0.11.2 # also change in .pre-commit-config.yaml when updating
|
||||||
pyupgrade==3.19.1 # also change in .pre-commit-config.yaml when updating
|
pyupgrade==3.19.1 # also change in .pre-commit-config.yaml when updating
|
||||||
pre-commit
|
pre-commit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user