|
|
|
@ -63,4 +63,23 @@ ignore =
@@ -63,4 +63,23 @@ ignore =
|
|
|
|
|
|
|
|
|
|
[mypy] |
|
|
|
|
files = pybind11 |
|
|
|
|
strict = True |
|
|
|
|
python_version = 2.7 |
|
|
|
|
warn_unused_configs = True |
|
|
|
|
|
|
|
|
|
# Currently (0.800) identical to --strict |
|
|
|
|
disallow_any_generics = True |
|
|
|
|
disallow_subclassing_any = True |
|
|
|
|
disallow_untyped_calls = True |
|
|
|
|
disallow_untyped_defs = True |
|
|
|
|
disallow_incomplete_defs = True |
|
|
|
|
check_untyped_defs = True |
|
|
|
|
disallow_untyped_decorators = True |
|
|
|
|
no_implicit_optional = True |
|
|
|
|
warn_redundant_casts = True |
|
|
|
|
warn_unused_ignores = True |
|
|
|
|
warn_return_any = True |
|
|
|
|
no_implicit_reexport = True |
|
|
|
|
strict_equality = True |
|
|
|
|
|
|
|
|
|
[tool:pytest] |
|
|
|
|
timeout = 300 |
|
|
|
|