Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 1, 2022
1 parent daa7c6a commit b23fa62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/oca_github_bot/tasks/merge_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
from ..version_branch import make_merge_bot_branch, parse_merge_bot_branch
from .main_branch_bot import main_branch_bot_actions
from .migration_issue_bot import (
_check_line_issue,
_create_or_find_branch_milestone,
_find_issue,
_check_line_issue
)

_logger = getLogger(__name__)
Expand Down
2 changes: 2 additions & 0 deletions src/oca_github_bot/tasks/migration_issue_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def _find_issue(gh_repo, milestone, target_branch):
break
return issue


def _check_line_issue(gh_pr, issue):
lines = []
regex = r"\#%s\d" % gh_pr.number
Expand All @@ -38,6 +39,7 @@ def _check_line_issue(gh_pr, issue):
lines.append(line)
return lines


def _set_lines_issue(gh_pr, issue, module):
lines = []
added = False
Expand Down

0 comments on commit b23fa62

Please sign in to comment.