Skip to content

Commit 1bc73f1

Browse files
committed
Fix fmt
1 parent 120e427 commit 1bc73f1

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

setuptools_rust/build.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,18 @@
2828
from ._utils import format_called_process_error
2929
from .command import RustCommand
3030
from .extension import Binding, RustBin, RustExtension, Strip
31-
from .rustc_info import get_rust_host, get_rust_target_list, get_rustc_cfgs, get_rust_version
31+
from .rustc_info import (
32+
get_rust_host,
33+
get_rust_target_list,
34+
get_rustc_cfgs,
35+
get_rust_version,
36+
)
3237
from semantic_version import Version
3338

3439

3540
def _detect_toolchain_1_70_or_later() -> bool:
3641
version = get_rust_version()
37-
return version.major > 1 or (
38-
version.major == 1 and version.minor >= 70
39-
)
42+
return version.major > 1 or (version.major == 1 and version.minor >= 70)
4043

4144

4245
class build_rust(RustCommand):

0 commit comments

Comments
 (0)