Skip to content

Commit dd54c13

Browse files
pre-commit-ci[bot]henryiii
authored andcommitted
style: pre-commit fixes
1 parent 90ebe07 commit dd54c13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/scikit_build_core/builder/sysconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def get_soabi(env: Mapping[str, str], *, abi3: bool = False) -> str:
167167
if setuptools_ext_suffix:
168168
return setuptools_ext_suffix.rsplit(".", 1)[0].lstrip(".")
169169

170-
if sys.version_info < (3, 8, 7): # noqa: UP036
170+
if sys.version_info < (3, 8, 7):
171171
# See https://github.com/python/cpython/issues/84006
172172
import distutils.sysconfig # pylint: disable=deprecated-module
173173

tests/test_pyproject_pep660.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_pep660_pip_isolated(isolated, isolate, editable_mode: str):
9797
"import simplest._module; print(simplest._module.__file__)"
9898
)
9999

100-
if sys.version_info < (3, 8, 7): # noqa: UP036
100+
if sys.version_info < (3, 8, 7):
101101
import distutils.sysconfig # pylint: disable=deprecated-module
102102

103103
ext_suffix = distutils.sysconfig.get_config_var("EXT_SUFFIX")

0 commit comments

Comments
 (0)