mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-26 17:45:30 +00:00
fix(smoke): add pydantic mypy plugin to smoke-tests (#14111)
This commit is contained in:
parent
d1ff75db51
commit
127ecca3bc
@ -67,6 +67,7 @@ ban-relative-imports = "all"
|
|||||||
"__init__.py" = ["F401"]
|
"__init__.py" = ["F401"]
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
|
plugins = ["pydantic.mypy", "pydantic.v1.mypy"]
|
||||||
exclude = "^(venv/|build/|dist/)"
|
exclude = "^(venv/|build/|dist/)"
|
||||||
ignore_missing_imports = true
|
ignore_missing_imports = true
|
||||||
namespace_packages = false
|
namespace_packages = false
|
||||||
@ -75,4 +76,4 @@ disallow_untyped_decorators = true
|
|||||||
warn_unused_configs = true
|
warn_unused_configs = true
|
||||||
# eventually we'd like to enable these
|
# eventually we'd like to enable these
|
||||||
disallow_incomplete_defs = false
|
disallow_incomplete_defs = false
|
||||||
disallow_untyped_defs = false
|
disallow_untyped_defs = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user