mirror of
https://github.com/kk7ds/chirp
synced 2026-08-13 17:51:36 -04:00
check_commit.sh: Ignore word paste
This commit is contained in:
parent
11581317ae
commit
fbcca4a9d1
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ if grep -E '\wfuture\w' added_lines; then
|
|||
fail No new uses of future
|
||||
fi
|
||||
|
||||
if grep -E '(from|import).*past' added_lines; then
|
||||
if grep -E '(from|import).*past(?!e)' added_lines; then
|
||||
fail Use of past library not allowed
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue