Skip to content

Commit

Permalink
fix ruff and mypy config
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Oct 4, 2024
1 parent 3661557 commit ab3e22a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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"
]

0 comments on commit ab3e22a

Please sign in to comment.