Skip to content
Snippets Groups Projects
Unverified Commit 6c4b4c49 authored by Oliver Smith's avatar Oliver Smith
Browse files

CI: ignore 'import tomllib' in vermin (MR 2333)

parent 1dfaafe5
No related branches found
No related tags found
1 merge request!2333kconfig check: move rules to kconfigcheck.toml
Pipeline #190996 passed
......@@ -16,7 +16,6 @@ vermin \
--backport enum \
--backport typing \
--lint \
--no-parse-comments \
--eval-annotations \
$(find . -name '*.py' \
-a -not -path "./.venv/*" \
......
......@@ -5,7 +5,7 @@ from pmb.helpers.exceptions import NonBugError
try:
# Python >= 3.11
from tomllib import load, TOMLDecodeError
from tomllib import load, TOMLDecodeError # novermin
except ImportError:
# Python < 3.11
from tomli import load, TOMLDecodeError # type:ignore[import-not-found,no-redef]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment