mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
silence mypy for new module
This commit is contained in:
parent
34e87db8f9
commit
e9ecbd514b
4 changed files with 6 additions and 3 deletions
3
mypy.ini
3
mypy.ini
|
@ -20,3 +20,6 @@ ignore_missing_imports = True
|
||||||
|
|
||||||
[mypy-lxml]
|
[mypy-lxml]
|
||||||
ignore_missing_imports = True
|
ignore_missing_imports = True
|
||||||
|
|
||||||
|
[mypy-tomllib]
|
||||||
|
ignore_missing_imports = True
|
||||||
|
|
|
@ -25,7 +25,7 @@ import structlog
|
||||||
try:
|
try:
|
||||||
import tomllib
|
import tomllib
|
||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
import tomli as tomllib
|
import tomli as tomllib # type: ignore
|
||||||
|
|
||||||
import platformdirs
|
import platformdirs
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ import abc
|
||||||
try:
|
try:
|
||||||
import tomllib
|
import tomllib
|
||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
import tomli as tomllib
|
import tomli as tomllib # type: ignore
|
||||||
|
|
||||||
import structlog
|
import structlog
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ from pathlib import Path
|
||||||
try:
|
try:
|
||||||
import tomllib
|
import tomllib
|
||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
import tomli as tomllib
|
import tomli as tomllib # type: ignore
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
import pytest_asyncio
|
import pytest_asyncio
|
||||||
|
|
Loading…
Add table
Reference in a new issue