Skip to content

Commit c8e17ed

Browse files
committed
lint update
Signed-off-by: Azimjon Ulmasov <azimjon.ulmasov@chainguard.dev>
1 parent cdbf463 commit c8e17ed

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pre_commit_hooks/shellcheck_run_steps.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ def main(argv: Sequence[str] | None = None) -> int:
110110
delete_on_close=False,
111111
) as compiled_out:
112112
# Try multiple architectures
113-
architectures = list(dict.fromkeys([os.uname().machine, 'x86_64', 'aarch64']))
113+
architectures = list(
114+
dict.fromkeys([os.uname().machine, 'x86_64', 'aarch64']),
115+
)
114116
compilation_succeeded = False
115117

116118
for i, arch in enumerate(architectures):
@@ -130,7 +132,7 @@ def main(argv: Sequence[str] | None = None) -> int:
130132
stdout=compiled_out,
131133
stderr=subprocess.PIPE,
132134
check=True,
133-
text=True
135+
text=True,
134136
)
135137
compilation_succeeded = True
136138
break # Success, exit the architecture loop

0 commit comments

Comments
 (0)