File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -181,6 +181,12 @@ sqlite_cache = true
181181warn_unreachable = true
182182warn_no_return = true
183183
184+ [[tool .mypy .overrides ]]
185+ module = " docs.*"
186+ allow_untyped_calls = true
187+ allow_untyped_defs = true
188+ ignore_missing_imports = true
189+
184190[tool .pylint ]
185191load-plugins = [" pylint.extensions.docparams" ]
186192accept-no-param-doc = " false"
Original file line number Diff line number Diff line change @@ -61,6 +61,12 @@ commands = mypy src/ {posargs}
6161base = mypy
6262commands = mypy --show-error-codes --warn-unused-ignores tests/non-pytest/mypy-ignore-tests/
6363
64+ [testenv:mypy-docs]
65+ base = mypy
66+ # docs isn't really a package, so avoid errors related to it being improperly
67+ # treated like one (this doesn't work via config)
68+ commands = mypy --explicit-package-bases {posargs:docs/}
69+
6470[testenv:test-lazy-imports]
6571deps = -r requirements/py{py_dot_ver}/test.txt
6672commands =
You can’t perform that action at this time.
0 commit comments