diff --git a/papyri/render.py b/papyri/render.py index e62484a8..66955c59 100644 --- a/papyri/render.py +++ b/papyri/render.py @@ -23,7 +23,7 @@ try: import minify_html except ModuleNotFoundError: - minify_html = None + minify_html = None # type: ignore[assignment] from . import config as default_config from . import take2 diff --git a/pyproject.toml b/pyproject.toml index 493e88d8..4d2421cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,5 +51,5 @@ filterwarnings = "ignore:The module numpy.dual.*:DeprecationWarning" Home = "https://github.com/Carreau/papyri" [tool.mypy] -python_version = 3.10 +python_version = '3.10' ignore_missing_imports = true