Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 4c83811

Browse files
authored
Remove unnecessary list comprehension in synapse_port_db to fix linting in CI (#11043)
1 parent b742cb2 commit 4c83811

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/11043.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove unnecessary list comprehension from `synapse_port_db` to satisfy code style requirements.

scripts/synapse_port_db

+1-1
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ class CursesProgress(Progress):
10691069

10701070
self.stdscr.addstr(0, 0, status, curses.A_BOLD)
10711071

1072-
max_len = max([len(t) for t in self.tables.keys()])
1072+
max_len = max(len(t) for t in self.tables.keys())
10731073

10741074
left_margin = 5
10751075
middle_space = 1

0 commit comments

Comments
 (0)