Resolve all flake8 issues except for E501 and E722.
pi@wyzesense2mqtt:/etc/wyzesense2mqtt $ flake8 --ignore=E501,W503,E722 .
pi@wyzesense2mqtt:/etc/wyzesense2mqtt $ flake8 .
./wyzesense2mqtt/wyzesense2mqtt.py:383:80: E501 line too long (83 > 79 characters)
./wyzesense2mqtt/wyzesense.py:75:80: E501 line too long (85 > 79 characters)
./wyzesense2mqtt/wyzesense.py:77:80: E501 line too long (92 > 79 characters)
./wyzesense2mqtt/wyzesense.py:142:80: E501 line too long (90 > 79 characters)
./wyzesense2mqtt/wyzesense.py:220:80: E501 line too long (88 > 79 characters)
./wyzesense2mqtt/wyzesense.py:236:80: E501 line too long (81 > 79 characters)
./wyzesense2mqtt/wyzesense.py:238:80: E501 line too long (90 > 79 characters)
./wyzesense2mqtt/wyzesense.py:240:80: E501 line too long (84 > 79 characters)
./wyzesense2mqtt/wyzesense.py:257:80: E501 line too long (84 > 79 characters)
./wyzesense2mqtt/wyzesense.py:271:80: E501 line too long (118 > 79 characters)
./wyzesense2mqtt/wyzesense.py:273:80: E501 line too long (87 > 79 characters)
./wyzesense2mqtt/wyzesense.py:464:80: E501 line too long (86 > 79 characters)
./wyzesense2mqtt/wyzesense.py:469:80: E501 line too long (80 > 79 characters)
./wyzesense2mqtt/wyzesense.py:476:80: E501 line too long (104 > 79 characters)
./wyzesense2mqtt/wyzesense.py:499:9: E722 do not use bare 'except'
./wyzesense2mqtt/wyzesense.py:523:80: E501 line too long (92 > 79 characters)
./wyzesense2mqtt/wyzesense.py:532:80: E501 line too long (94 > 79 characters)
./wyzesense2mqtt/wyzesense.py:552:80: E501 line too long (87 > 79 characters)
./wyzesense2mqtt/wyzesense.py:553:80: E501 line too long (103 > 79 characters)
./wyzesense2mqtt/bridge_tool_cli.py:2:80: E501 line too long (99 > 79 characters)
./wyzesense2mqtt/bridge_tool_cli.py:75:80: E501 line too long (83 > 79 characters)
./wyzesense2mqtt/bridge_tool_cli.py:76:80: E501 line too long (91 > 79 characters)
./wyzesense2mqtt/bridge_tool_cli.py:85:80: E501 line too long (82 > 79 characters)
I am not 100% sure how to address the remaining rules, so I didn't touch them.
Resolve all flake8 issues except for E501 and E722.
I am not 100% sure how to address the remaining rules, so I didn't touch them.