tiborpilz / commitomatic

Unused variable found PYL-W0612
Anti-pattern
Major
a year agoa year old
Unused variable 'git_diff'
 1def get_gpt_codex_prompt(diff, header=None, commit_type=None):
 2    """Get the prompt for GPT-Codex."""
 3    git_diff = "git diff ." 4
 5    if header:
 6        commit_command = f"git commit -m <<EOF {header}\n"