mirror of
https://github.com/lilydjwg/nvchecker
synced 2025-02-02 03:21:58 +00:00
silence mypy for new module
This commit is contained in:
parent
34e87db8f9
commit
e9ecbd514b
3
mypy.ini
3
mypy.ini
@ -20,3 +20,6 @@ ignore_missing_imports = True
|
||||
|
||||
[mypy-lxml]
|
||||
ignore_missing_imports = True
|
||||
|
||||
[mypy-tomllib]
|
||||
ignore_missing_imports = True
|
||||
|
@ -25,7 +25,7 @@ import structlog
|
||||
try:
|
||||
import tomllib
|
||||
except ModuleNotFoundError:
|
||||
import tomli as tomllib
|
||||
import tomli as tomllib # type: ignore
|
||||
|
||||
import platformdirs
|
||||
|
||||
|
@ -17,7 +17,7 @@ import abc
|
||||
try:
|
||||
import tomllib
|
||||
except ModuleNotFoundError:
|
||||
import tomli as tomllib
|
||||
import tomli as tomllib # type: ignore
|
||||
|
||||
import structlog
|
||||
|
||||
|
@ -9,7 +9,7 @@ from pathlib import Path
|
||||
try:
|
||||
import tomllib
|
||||
except ModuleNotFoundError:
|
||||
import tomli as tomllib
|
||||
import tomli as tomllib # type: ignore
|
||||
|
||||
import pytest
|
||||
import pytest_asyncio
|
||||
|
Loading…
Reference in New Issue
Block a user