Skip to content

Commit

Permalink
Update pre-commit commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
sebalix committed Nov 13, 2023
1 parent 8dbef28 commit 357d724
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions oca_port/utils/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,7 @@ def run_pre_commit(repo, addon, commit=True, hook=None):
if repo.untracked_files or repo.is_dirty():
repo.git.add("-A")
if commit:
repo.git.commit(
"-m", f"[IMP] {addon}: black, isort, prettier", "--no-verify"
)
repo.git.commit("-m", "[IMP] apply pre-commit auto fixes", "--no-verify")


def get_changed_paths(repo, modified=True, staged=True):
Expand Down

0 comments on commit 357d724

Please sign in to comment.