We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43bce5e commit bbcdb5aCopy full SHA for bbcdb5a
1 file changed
pre_commit_hooks/shellcheck_run_steps.py
@@ -49,6 +49,7 @@ def do_shellcheck(
49
if "test" in pkg.keys():
50
test_pipeline = pkg["test"].get("pipeline", [])
51
pipelines.extend(test_pipeline)
52
+ name = melange_cfg["package"]["name"]
53
all_run_files = []
54
with contextlib.ExitStack() as stack:
55
for step in pipelines:
@@ -59,6 +60,7 @@ def do_shellcheck(
59
60
stack.enter_context(
61
tempfile.NamedTemporaryFile(
62
mode="w",
63
+ prefix=name,
64
dir=os.getcwd(),
65
delete_on_close=False,
66
),
0 commit comments