Skip to content

Commit 022e4be

Browse files
committed
Move pylint disable comment to correct line
The pylint disable comment for too-many-branches needs to be on the function definition line (where 'def' is) rather than the closing paren.
1 parent cebe181 commit 022e4be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

toolchain/mfc/sched.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ def get_threshold_for_case(case: typing.Any) -> float:
9595
dim = get_case_dimensionality(case)
9696
return INTERACTIVE_THRESHOLDS.get(dim, INTERACTIVE_THRESHOLDS[1])
9797

98-
def notify_long_running_threads(
98+
def notify_long_running_threads( # pylint: disable=too-many-branches
9999
progress: rich.progress.Progress,
100100
running_tracker: typing.Optional[rich.progress.TaskID],
101101
interactive: bool
102-
) -> None: # pylint: disable=too-many-branches
102+
) -> None:
103103
"""
104104
Monitor and notify about long-running tests.
105105

0 commit comments

Comments
 (0)