pyproject: add test/common to mypy path
This gives mypy a bit of help in finding our testing API. Mostly, it helps get rid of a lot of warnings like these in vim: # E: Cannot find implementation or library stub for module
This commit is contained in:
parent
095e547cb8
commit
63eee8e92d
|
@ -4,7 +4,7 @@ backend-path = ['src']
|
|||
build-backend = 'build_backend'
|
||||
|
||||
[tool.mypy]
|
||||
mypy_path = 'src/cockpit'
|
||||
mypy_path = 'src/cockpit:test/common'
|
||||
exclude = '_vendor'
|
||||
[[tool.mypy.overrides]]
|
||||
module = ["cockpit._vendor.*"]
|
||||
|
|
Loading…
Reference in New Issue