Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@ sqlite_cache = true
warn_unreachable = true
warn_no_return = true

[[tool.mypy.overrides]]
module = "docs.*"
allow_untyped_calls = true
allow_untyped_defs = true
ignore_missing_imports = true

[tool.pylint]
load-plugins = ["pylint.extensions.docparams"]
accept-no-param-doc = "false"
Expand Down
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ commands = mypy src/ {posargs}
base = mypy
commands = mypy --show-error-codes --warn-unused-ignores tests/non-pytest/mypy-ignore-tests/

[testenv:mypy-docs]
base = mypy
# docs isn't really a package, so avoid errors related to it being improperly
# treated like one (this doesn't work via config)
commands = mypy --explicit-package-bases {posargs:docs/}

[testenv:test-lazy-imports]
deps = -r requirements/py{py_dot_ver}/test.txt
commands =
Expand Down
Loading