Skip to content

Commit 2b07c9f

Browse files
flake8-bugbear
1 parent 2cbe799 commit 2b07c9f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

custom_components/solaredge_modbus_multi/sensor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1869,7 +1869,7 @@ def native_value(self):
18691869
f"< {self._last} cycle {self._count} of "
18701870
f"{self._platform.battery_energy_reset_cycles}"
18711871
)
1872-
),
1872+
)
18731873

18741874
if self._count > self._platform.battery_energy_reset_cycles:
18751875
_LOGGER.debug(

setup.cfg

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[flake8]
2-
max-line-length = 88
3-
extend-ignore = E203
2+
max-line-length = 80
3+
extend-select = B950
4+
extend-ignore = E203,E501,E701
45

56
[isort]
67
profile = black

0 commit comments

Comments
 (0)