mirror of
https://github.com/kk7ds/chirp.git
synced 2024-09-21 10:37:15 +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
|
fail No new uses of future
|
||||||
fi
|
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
|
fail Use of past library not allowed
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user