Skip to content

Commit

Permalink
[IMP] git-commit-merge: more master checks
Browse files Browse the repository at this point in the history
  • Loading branch information
KangOl committed Aug 27, 2019
1 parent e2a8b54 commit 08dc822
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions git-commit-merge
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,13 @@ function check_master() {
assert_not_in_diff py '@api\.multi\b'
assert_not_in_diff py '\.sudo\((?!True\)|False\)|\))' "Use $(em with_user) to change active user"
assert_not_in_diff py '\boldname\b'
assert_not_in_diff py '\bcontext_dependent\b'
assert_not_in_diff py '\brelated_sudo\b'

# even if there is little to no chance that these patterns are used...
assert_not_in_diff py '\benv.(?:do_)?in_draft\b'
assert_not_in_diff py '\b\._recompute_todo\b'
assert_not_in_diff py '\benv\.norecompute\b'
}

# --------- main
Expand Down

0 comments on commit 08dc822

Please sign in to comment.