forked from Mirror/pmbootstrap
helpers: toml: fix mypy on import (MR 2344)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
6301212d99
commit
7741f74d44
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ try:
|
|||
from tomllib import load, TOMLDecodeError # novermin
|
||||
except ImportError:
|
||||
# Python < 3.11
|
||||
from tomli import load, TOMLDecodeError # type:ignore[import-not-found,no-redef]
|
||||
from tomli import load, TOMLDecodeError # type:ignore[import-not-found,no-redef,assignment]
|
||||
|
||||
|
||||
@Cache("path")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue