mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +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:
		| @@ -12,11 +12,11 @@ repos: | ||||
|       # Run the formatter. | ||||
|       - id: ruff-format | ||||
|   - repo: https://github.com/PyCQA/flake8 | ||||
|     rev: 6.1.0 | ||||
|     rev: 7.2.0 | ||||
|     hooks: | ||||
|       - id: flake8 | ||||
|         additional_dependencies: | ||||
|           - flake8-docstrings==1.5.0 | ||||
|           - flake8-docstrings==1.7.0 | ||||
|           - pydocstyle==5.1.1 | ||||
|         files: ^(esphome|tests)/.+\.py$ | ||||
|   - repo: https://github.com/pre-commit/pre-commit-hooks | ||||
|   | ||||
| @@ -32,8 +32,6 @@ class MqttStatusThread(threading.Thread): | ||||
|         topic = "esphome/discover/#" | ||||
|  | ||||
|         def on_message(client, userdata, msg): | ||||
|             nonlocal current_entries | ||||
|  | ||||
|             payload = msg.payload.decode(errors="backslashreplace") | ||||
|             if len(payload) > 0: | ||||
|                 data = json.loads(payload) | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| 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 | ||||
| pyupgrade==3.19.1  # also change in .pre-commit-config.yaml when updating | ||||
| pre-commit | ||||
|   | ||||
		Reference in New Issue
	
	Block a user