mirror of https://github.com/zulip/zulip.git
mypy: Organize config file a bit, since it's grown.
This commit is contained in:
parent
6b1e76c1b1
commit
cc9acbe50d
20
mypy.ini
20
mypy.ini
|
@ -1,18 +1,20 @@
|
||||||
[mypy]
|
[mypy]
|
||||||
check_untyped_defs = True
|
# Logistics of what code to check and how to handle the data.
|
||||||
disallow_any_generics = True
|
|
||||||
|
|
||||||
follow_imports = silent
|
|
||||||
|
|
||||||
strict_optional = True
|
|
||||||
# This is a more explicit supporting form of strict-optional:
|
|
||||||
no_implicit_optional = True
|
|
||||||
|
|
||||||
scripts_are_modules = True
|
scripts_are_modules = True
|
||||||
show_traceback = True
|
show_traceback = True
|
||||||
cache_dir = var/mypy-cache
|
cache_dir = var/mypy-cache
|
||||||
|
|
||||||
|
# Options to make the checking stricter.
|
||||||
|
check_untyped_defs = True
|
||||||
|
disallow_any_generics = True
|
||||||
warn_no_return = True
|
warn_no_return = True
|
||||||
|
strict_optional = True
|
||||||
|
no_implicit_optional = True
|
||||||
|
|
||||||
|
# Options to make the checking *less* strict, which we
|
||||||
|
# might ideally eliminate.
|
||||||
|
follow_imports = silent
|
||||||
|
|
||||||
|
|
||||||
# REQ returning None issue
|
# REQ returning None issue
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue