Closed DSorlov closed 2 years ago
Hello @DSorlov! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:
custom_components/hasl3/__init__.py
:Line 204:80: E501 line too long (134 > 79 characters) Line 206:33: W291 trailing whitespace Line 208:80: E501 line too long (86 > 79 characters) Line 209:21: E225 missing whitespace around operator
custom_components/hasl3/binary_sensor.py
:Line 44:12: E713 test for membership should be 'not in' Line 46:80: E501 line too long (87 > 79 characters) Line 100:80: E501 line too long (81 > 79 characters) Line 102:80: E501 line too long (195 > 79 characters) Line 111:80: E501 line too long (81 > 79 characters) Line 176:38: W291 trailing whitespace
custom_components/hasl3/config_flow.py
:Line 96:80: E501 line too long (107 > 79 characters) Line 114:80: E501 line too long (101 > 79 characters) Line 122:80: E501 line too long (94 > 79 characters) Line 127:80: E501 line too long (133 > 79 characters) Line 131:80: E501 line too long (89 > 79 characters) Line 132:80: E501 line too long (87 > 79 characters) Line 134:17: E722 do not use bare 'except' Line 135:80: E501 line too long (137 > 79 characters) Line 138:80: E501 line too long (114 > 79 characters) Line 139:80: E501 line too long (111 > 79 characters) Line 141:80: E501 line too long (88 > 79 characters) Line 142:80: E501 line too long (92 > 79 characters) Line 177:80: E501 line too long (81 > 79 characters)
custom_components/hasl3/sensor.py
:Line 76:80: E501 line too long (93 > 79 characters) Line 77:80: E501 line too long (92 > 79 characters) Line 88:80: E501 line too long (106 > 79 characters) Line 89:80: E501 line too long (88 > 79 characters) Line 91:80: E501 line too long (106 > 79 characters) Line 92:80: E501 line too long (88 > 79 characters) Line 104:80: E501 line too long (123 > 79 characters) Line 105:80: E501 line too long (124 > 79 characters) Line 120:80: E501 line too long (81 > 79 characters) Line 206:80: E501 line too long (174 > 79 characters) Line 335:80: E501 line too long (94 > 79 characters) Line 340:24: E225 missing whitespace around operator Line 352:80: E501 line too long (176 > 79 characters) Line 550:80: E501 line too long (209 > 79 characters) Line 654:80: E501 line too long (180 > 79 characters) Line 755:80: E501 line too long (81 > 79 characters) Line 757:80: E501 line too long (195 > 79 characters) Line 766:80: E501 line too long (81 > 79 characters) Line 814:36: E713 test for membership should be 'not in'
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
13.0% Duplication
Fixes
Changes