Skip to content

Commit ee36ea9

Browse files
made datatype specs compatable with TOML format
1 parent 9e618d4 commit ee36ea9

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

py/pyproject.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -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 = True
12+
warn_unused_configs = true
1313
# disallows subclassing of typing.Any.
14-
disallow_subclassing_any = False
14+
disallow_subclassing_any = false
1515
# disallow usage of generic types that do not specify explicit type parameters.
16-
disallow_any_generics = False
16+
disallow_any_generics = false
1717
# disallow calling functions without type annotations from functions that have type annotations.
18-
disallow_untyped_calls = False
18+
disallow_untyped_calls = false
1919
# disallow defining functions without type annotations or with incomplete annotations.
20-
disallow_untyped_defs = False
20+
disallow_untyped_defs = false
2121
# disallow defining functions with incomplete type annotations.
22-
disallow_incomplete_defs = False
22+
disallow_incomplete_defs = false
2323
# type-checks the interior of functions without type annotations.
24-
check_untyped_defs = False
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 = False
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 = False
28+
no_implicit_optional = false
2929
# warns about casting an expression to it's inferred type.
30-
warn_redundant_casts = True
30+
warn_redundant_casts = true
3131
# warns about unneeded `# type: ignore` comments.
32-
warn_unused_ignores = True
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 = False
34+
warn_return_any = false
3535
# Shows a warning when encountering any code inferred to be unreachable after performing type analysis.
36-
warn_unreachable = False
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 = True
41+
ignore_missing_imports = true
4242

4343
[[tool.mypy._winreg]]
4444
# suppress error messages about imports that cannot be resolved.
45-
ignore_missing_imports = True
45+
ignore_missing_imports = true

0 commit comments

Comments
 (0)