Skip to content

Commit efe03d1

Browse files
committed
Linter exclusion fix
1 parent 219090c commit efe03d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

command_runner/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,11 +1013,11 @@ def _monitor_process(
10131013
if priority:
10141014
_check_priority_value(priority)
10151015
process_prio = PRIORITIES["process"][priority.lower()]
1016+
# Don't bother to make pylint go crazy on Windows missing os.nice()
1017+
# pylint: disable=E1101
10161018
if os_name == "nt" and sys.version_info >= (3, 7):
10171019
kwargs["creationflags"] = kwargs.pop("creationflags", 0) | process_prio
10181020
else:
1019-
# Don't bother to make pylint go crazy on Windows
1020-
# pylint: disable=E1101
10211021
kwargs["preexec_fn"] = lambda: os.nice(process_prio)
10221022

10231023
# Disabling pylint error for the same reason as above

0 commit comments

Comments
 (0)