From f652613ecc065bb75641a6c8aae310a756e43ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Odd=20Str=C3=A5b=C3=B8?= Date: Fri, 5 Nov 2021 06:06:29 +0100 Subject: [PATCH] flake8 and isort don't quite agree on sorting order --- solar_ble.py | 4 ---- tox.ini | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/solar_ble.py b/solar_ble.py index 149c390..7979f8b 100755 --- a/solar_ble.py +++ b/solar_ble.py @@ -519,7 +519,3 @@ if __name__ == "__main__": except btle.BTLEDisconnectError: log("ERROR: Disconnected") time.sleep(1) - try: - dev.close() - except Exception: - pass diff --git a/tox.ini b/tox.ini index 21be829..7772898 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [flake8] max-line-length = 88 -extend-ignore = E203, I201 +extend-ignore = E203, I201, I101 [tool.isort] profile = "black"