@@ -7,39 +7,39 @@ build-backend = "setuptools.build_meta"
77# The aim in future here is we would be able to turn (most) of these flags on, however the typing technical
88# debt is quite colossal right now. For now we should maybe get everything working with the config here
99# then look at going after partially or completely untyped defs as a phase-2.
10- files = selenium
10+ files = " selenium"
1111# warn about per-module sections in the config file that do not match any files processed.
12- warn_unused_configs = T rue
12+ warn_unused_configs = true
1313# disallows subclassing of typing.Any.
14- disallow_subclassing_any = F alse
14+ disallow_subclassing_any = false
1515# disallow usage of generic types that do not specify explicit type parameters.
16- disallow_any_generics = F alse
16+ disallow_any_generics = false
1717# disallow calling functions without type annotations from functions that have type annotations.
18- disallow_untyped_calls = F alse
18+ disallow_untyped_calls = false
1919# disallow defining functions without type annotations or with incomplete annotations.
20- disallow_untyped_defs = F alse
20+ disallow_untyped_defs = false
2121# disallow defining functions with incomplete type annotations.
22- disallow_incomplete_defs = F alse
22+ disallow_incomplete_defs = false
2323# type-checks the interior of functions without type annotations.
24- check_untyped_defs = F alse
24+ check_untyped_defs = false
2525# reports an error whenever a function with type annotations is decorated with a decorator without annotations.
26- disallow_untyped_decorators = F alse
26+ disallow_untyped_decorators = false
2727# changes the treatment of arguments with a default value of None by not implicitly making their type `typing.Optional`.
28- no_implicit_optional = F alse
28+ no_implicit_optional = false
2929# warns about casting an expression to it's inferred type.
30- warn_redundant_casts = T rue
30+ warn_redundant_casts = true
3131# warns about unneeded `# type: ignore` comments.
32- warn_unused_ignores = T rue
32+ warn_unused_ignores = true
3333# warns when returning a value with typing.Any from a function with a non typing.Any return type.
34- warn_return_any = F alse
34+ warn_return_any = false
3535# Shows a warning when encountering any code inferred to be unreachable after performing type analysis.
36- warn_unreachable = F alse
36+ warn_unreachable = false
3737
3838# mypy module specific options
3939[[tool .mypy .trio_websocket ]]
4040# suppress error messages about imports that cannot be resolved.
41- ignore_missing_imports = T rue
41+ ignore_missing_imports = true
4242
4343[[tool .mypy ._winreg ]]
4444# suppress error messages about imports that cannot be resolved.
45- ignore_missing_imports = T rue
45+ ignore_missing_imports = true
0 commit comments