mypy config update
This commit is contained in:
parent
cec13a218d
commit
ae9b590072
12
mypy.ini
12
mypy.ini
@ -14,14 +14,12 @@ plugins = numpy.typing.mypy_plugin
|
|||||||
disallow_incomplete_defs = True
|
disallow_incomplete_defs = True
|
||||||
disallow_untyped_decorators = False
|
disallow_untyped_decorators = False
|
||||||
disallow_any_unimported = False
|
disallow_any_unimported = False
|
||||||
|
ignore_missing_imports = True
|
||||||
|
|
||||||
# Per-module options:
|
# Per-module options:
|
||||||
|
|
||||||
[mypy-mycode.foo.*]
|
; [mypy-mycode.foo.*]
|
||||||
disallow_untyped_defs = True
|
; disallow_untyped_defs = True
|
||||||
|
|
||||||
[mypy-mycode.bar]
|
; [mypy-somelibrary]
|
||||||
warn_return_any = False
|
; ignore_missing_imports = True
|
||||||
|
|
||||||
[mypy-somelibrary]
|
|
||||||
ignore_missing_imports = True
|
|
||||||
Loading…
Reference in New Issue
Block a user