mypy still complains about a few things here, but that looks to be mostly coming from code that is very, very dead in python 3. The tests don't run, and haven't since the python 3 switch. Will try to revive those next, but it likely requires moving files around to fix the package structure (source needs to go in a subdirectory to make a real package, as do the tests). Bug: None Test: mypy . && pylint . Change-Id: Ide55a41babecbd6684b73787b17e7f5fdb81c090
20 lines
541 B
INI
20 lines
541 B
INI
[mypy]
|
|
check_untyped_defs = true
|
|
disallow_any_generics = true
|
|
disallow_any_unimported = true
|
|
disallow_subclassing_any = true
|
|
disallow_untyped_decorators = true
|
|
disallow_untyped_defs = true
|
|
follow_imports = silent
|
|
implicit_reexport = false
|
|
namespace_packages = true
|
|
no_implicit_optional = true
|
|
show_error_codes = true
|
|
strict_equality = true
|
|
warn_redundant_casts = true
|
|
# Can't enable because mypy cannot reason about _get_subprocess_args.
|
|
# warn_return_any = true
|
|
warn_unreachable = true
|
|
warn_unused_configs = true
|
|
warn_unused_ignores = true
|