Skip to content

Commit 9d690e8

Browse files
committed
Reformat file with black
1 parent 1bdc99f commit 9d690e8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

command_runner/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ def _monitor_process(
10321032
# pylint: disable=E1101
10331033
if os_name == "nt" and sys.version_info >= (3, 7):
10341034
creationflags |= process_prio
1035-
1035+
10361036
# Actually we don't want preexec_fn since it's not thread safe, neither supported
10371037
# in subinterpreters. We'll use set_priority() once the process is spawned
10381038
# else:
@@ -1070,7 +1070,9 @@ def _monitor_process(
10701070
)
10711071

10721072
# Set process priority if not set earlier by creationflags
1073-
if priority and (os_name != "nt" or (sys.version_info < (3, 7) and os_name == "nt")):
1073+
if priority and (
1074+
os_name != "nt" or (sys.version_info < (3, 7) and os_name == "nt")
1075+
):
10741076
try:
10751077
try:
10761078
set_priority(process.pid, priority)

0 commit comments

Comments
 (0)