Skip to content

Commit

Permalink
Refactor utils.py
Browse files Browse the repository at this point in the history
1. Introduce typehints
2. Include what you use.
  • Loading branch information
cvicentiu committed Nov 26, 2024
1 parent 9809769 commit b1588b1
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 143 deletions.
3 changes: 0 additions & 3 deletions master-protected-branches/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -422,9 +422,6 @@ f_tarball.addStep(
doStepIf=lambda step: isStagingBranch(step),
)
)
# f_tarball.addStep(steps.ShellSequence( commands=[
# util.ShellArg(command=util.Interpolate("git checkout " + "%(prop:staging_branch)s"), logfile="rebase"),
# util.ShellArg(command=util.Interpolate("git merge %(prop:branch)s"), logfile="rebase")], workdir="build/server", haltOnFailure="true", doStepIf=ifStagingSucceeding))
f_tarball.addStep(
steps.ShellCommand(
name="cleanup", command="rm -r * .* 2> /dev/null || true", alwaysRun=True
Expand Down
Loading

0 comments on commit b1588b1

Please sign in to comment.