Skip to content

Commit 6097847

Browse files
committed
Fix pre-commit errors
1 parent 6075b25 commit 6097847

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

relenv/build/darwin.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@
66
import io
77

88
from ..common import arches, DARWIN, MACOS_DEVELOPMENT_TARGET
9-
from .common import runcmd, finalize, build_openssl, build_sqlite, builds
9+
from .common import (
10+
runcmd,
11+
finalize,
12+
build_openssl,
13+
build_sqlite,
14+
builds,
15+
update_ensurepip,
16+
)
1017

1118
ARCHES = arches[DARWIN]
1219

@@ -45,7 +52,6 @@ def build_python(env, dirs, logfp):
4552
:param logfp: A handle for the log file
4653
:type logfp: file
4754
"""
48-
4955
# update ensurepip
5056
update_ensurepip(dirs.prefix)
5157

relenv/build/linux.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,6 @@ def build_python(env, dirs, logfp):
353353
:param logfp: A handle for the log file
354354
:type logfp: file
355355
"""
356-
357356
# update ensurepip
358357
update_ensurepip(dirs.prefix)
359358

relenv/build/windows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def build_python(env, dirs, logfp):
7979
override_dependency(dirs.source, r"xz-\d+.\d+.\d+", "xz-5.6.2")
8080
# We don't have a way to pass --organization to build.bat, so we need to
8181
# patch it
82-
old = f'.*get_externals\.bat"'
82+
old = r'.*get_externals\.bat"'
8383
new = 'get_externals.bat --organization saltstack"'
8484
patch_file(dirs.source / "PCbuild" / "build.bat", old=old, new=new)
8585

0 commit comments

Comments
 (0)