From 1e3eea708758203cabbe18a429c5ff72a0e1f58a Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Sun, 25 Jun 2023 21:36:50 +0200 Subject: [PATCH] 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 Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230625193650.528651-2-luca@z3ntu.xyz%3E --- .ci/vermin.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/vermin.sh b/.ci/vermin.sh index b457b18d..6c8cbe68 100755 --- a/.ci/vermin.sh +++ b/.ci/vermin.sh @@ -17,6 +17,7 @@ vermin \ --backport typing \ --lint \ --no-parse-comments \ + --eval-annotations \ $(find . -name '*.py' \ -a -not -path "./.venv/*" \ -a -not -path "./venv/*")