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" +]