Skip to content

Commit 1e77778

Browse files
committed
contest: hw: fix sol_listener linter warning
GH linter throws a warning: contest/hw/machine_control.py:417:5: F824 `global sol_listener` is unused: name is never assigned in scope global db_pool, health_checker, res_mgr, sol_listener # pylint: disable=global-statement ^ F824 `global sol_listener` is unused: name is never assigned in scope which neither pylint not ruff check produces locally. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent b7b7213 commit 1e77778

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contest/hw/machine_control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def reservation_close():
414414

415415
def main():
416416
"""Initialize services and run Flask app."""
417-
global db_pool, health_checker, res_mgr, sol_listener # pylint: disable=global-statement
417+
global db_pool, health_checker, res_mgr # pylint: disable=global-statement
418418

419419
config = configparser.ConfigParser()
420420
cfg_paths = ['hw.config', 'machine_control.config']

0 commit comments

Comments
 (0)