From ab3e22a60d4e6582899316f818d7e78e27e6ba62 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Fri, 4 Oct 2024 03:05:21 -0700 Subject: [PATCH] fix ruff and mypy config --- pyproject.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index cc5d07fc..9d21c39a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,6 +13,10 @@ exclude = ['^setup\.py$', '^sphinx_immaterial/plugins/$'] plugins = ["pydantic.mypy"] check_untyped_defs = true +[[tool.mypy.overrides]] +module = ['sphinx_immaterial.plugins.*', 'sphinx_immaterial.search'] +follow_imports = "silent" + [tool.pytest.ini_options] minversion = "6.0" testpaths = ["tests"] @@ -54,3 +58,9 @@ exclude_lines = [ [tool.coverage.html] show_contexts = true + +[tool.ruff] +# In addition to the standard set of exclusions +extend-exclude = [ + "sphinx_immaterial/plugins" +]