Fixed for mypy errors

This commit is contained in:
Dimitris Zlatanidis 2024-04-22 22:07:12 +03:00
parent 957de8c307
commit d3a3ee1b53

View file

@ -1,10 +1,12 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# mypy: disable-error-code="no-redef"
try:
import tomli
except ModuleNotFoundError:
import tomllib as tomli
import tomllib as tomli # type: ignore[import-not-found]
from pathlib import Path