Skip to content

Commit 5a05dda

Browse files
run fmt
1 parent 9858f5f commit 5a05dda

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/python/pants/backend/go/util_rules/assembly.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,11 @@ def _asm_args(
9292
# - https://cs.opensource.google/go/go/+/72946ae8674a295e7485982fe57c65c7142b2c14
9393
maybe_assembling_stdlib_runtime_args = (
9494
["-compiling-runtime"]
95-
if not goroot.is_compatible_version("1.22") and (import_path in ("runtime", "reflect", "syscall", "internal/bytealg")
96-
or import_path.startswith("runtime/internal"))
95+
if not goroot.is_compatible_version("1.22")
96+
and (
97+
import_path in ("runtime", "reflect", "syscall", "internal/bytealg")
98+
or import_path.startswith("runtime/internal")
99+
)
97100
else []
98101
)
99102

0 commit comments

Comments
 (0)