Update dependency flake8 to v7.2.0 (#330)

* Update dependency flake8 to v7.2.0

* Flake8: ignore F821 errors, due of False Positives

# cleanup some unit tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de>
This commit is contained in:
renovate[bot]
2025-04-04 14:29:00 +02:00
committed by GitHub
parent bcec8dd843
commit 2707582a45
7 changed files with 40 additions and 35 deletions

View File

@@ -96,7 +96,6 @@ def test_native_client(test_hostname, test_port):
@pytest.mark.asyncio
async def test_mqtt_connection(config_mqtt_conn):
global NO_MOSQUITTO_TEST
if NO_MOSQUITTO_TEST:
pytest.skip('skipping, since Mosquitto is not reliable at the moment')
@@ -122,7 +121,6 @@ async def test_mqtt_connection(config_mqtt_conn):
@pytest.mark.asyncio
async def test_ha_reconnect(config_mqtt_conn):
global NO_MOSQUITTO_TEST
if NO_MOSQUITTO_TEST:
pytest.skip('skipping, since Mosquitto is not reliable at the moment')