mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Remove unnecessary list comprehension in synapse_port_db
to fix linting in CI (#11043)
This commit is contained in:
parent
b742cb2e4a
commit
4c838112dc
1
changelog.d/11043.misc
Normal file
1
changelog.d/11043.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Remove unnecessary list comprehension from `synapse_port_db` to satisfy code style requirements.
|
@ -1069,7 +1069,7 @@ class CursesProgress(Progress):
|
|||||||
|
|
||||||
self.stdscr.addstr(0, 0, status, curses.A_BOLD)
|
self.stdscr.addstr(0, 0, status, curses.A_BOLD)
|
||||||
|
|
||||||
max_len = max([len(t) for t in self.tables.keys()])
|
max_len = max(len(t) for t in self.tables.keys())
|
||||||
|
|
||||||
left_margin = 5
|
left_margin = 5
|
||||||
middle_space = 1
|
middle_space = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user