mirror of
https://github.com/kk7ds/chirp.git
synced 2024-09-21 02:27:21 +00:00
check_commit.sh: Ignore word paste
This commit is contained in:
parent
11581317ae
commit
fbcca4a9d1
@ -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…
Reference in New Issue
Block a user