CI: enable eval-annotations for vermin
It has happened more than once that Python 3.9+ type annotation have slipped into the code and broken earlier Python versions. Enable the eval-annotations flag in vermin to catch that. Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org> Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230625193650.528651-2-luca@z3ntu.xyz%3E
This commit is contained in:
parent
a3dda34785
commit
1e3eea7087
|
@ -17,6 +17,7 @@ vermin \
|
||||||
--backport typing \
|
--backport typing \
|
||||||
--lint \
|
--lint \
|
||||||
--no-parse-comments \
|
--no-parse-comments \
|
||||||
|
--eval-annotations \
|
||||||
$(find . -name '*.py' \
|
$(find . -name '*.py' \
|
||||||
-a -not -path "./.venv/*" \
|
-a -not -path "./.venv/*" \
|
||||||
-a -not -path "./venv/*")
|
-a -not -path "./venv/*")
|
||||||
|
|
Loading…
Reference in New Issue