We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 219090c commit efe03d1Copy full SHA for efe03d1
command_runner/__init__.py
@@ -1013,11 +1013,11 @@ def _monitor_process(
1013
if priority:
1014
_check_priority_value(priority)
1015
process_prio = PRIORITIES["process"][priority.lower()]
1016
+ # Don't bother to make pylint go crazy on Windows missing os.nice()
1017
+ # pylint: disable=E1101
1018
if os_name == "nt" and sys.version_info >= (3, 7):
1019
kwargs["creationflags"] = kwargs.pop("creationflags", 0) | process_prio
1020
else:
- # Don't bother to make pylint go crazy on Windows
- # pylint: disable=E1101
1021
kwargs["preexec_fn"] = lambda: os.nice(process_prio)
1022
1023
# Disabling pylint error for the same reason as above
0 commit comments