Skip to content

Commit 7588308

Browse files
committed
fix pyproject.toml
1 parent 53b98ad commit 7588308

File tree

1 file changed

+20
-22
lines changed

1 file changed

+20
-22
lines changed

pyproject.toml

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,40 @@
22
requires = ["setuptools", "wheel", "cffi >= 1.15.0"]
33
build-backend = "setuptools.build_meta"
44

5-
65
[tool.isort]
76
multi_line_output = 3
8-
include_trailing_comma = True
7+
include_trailing_comma = true
98
force_grid_wrap = 0
10-
use_parentheses = True
11-
ensure_newline_before_comments = True
9+
use_parentheses = true
10+
ensure_newline_before_comments = true
1211
line_length = 88
1312

14-
1513
[tool.mypy]
16-
disallow_untyped_defs = True
17-
strict_equality = True
18-
warn_unused_configs = True
19-
disallow_any_generics = True
20-
warn_redundant_casts = True
21-
disallow_subclassing_any = True
22-
disallow_untyped_calls = True
23-
disallow_incomplete_defs = True
24-
no_implicit_optional = True
25-
no_implicit_reexport = True
26-
check_untyped_defs = True
27-
warn_unused_ignores = True
14+
disallow_untyped_defs = true
15+
strict_equality = true
16+
warn_unused_configs = true
17+
disallow_any_generics = true
18+
warn_redundant_casts = true
19+
disallow_subclassing_any = true
20+
disallow_untyped_calls = true
21+
disallow_incomplete_defs = true
22+
no_implicit_optional = true
23+
no_implicit_reexport = true
24+
check_untyped_defs = true
25+
warn_unused_ignores = true
2826

2927
# Because many values are returned directly from CFFI/Chipmunk (and are therefore Any)
30-
warn_return_any = False
28+
warn_return_any = false
3129

3230
# Because decorators are mostly from CFFI used for callbacks (and therefor untyped)
33-
disallow_untyped_decorators = False
31+
disallow_untyped_decorators = false
3432

3533
exclude = [
36-
'^pymunk\examples\.*$', # exclude examples from type checking
34+
'^pymunk\examples\.*$', # exclude examples from type checking
3735
]
3836

3937

4038
[mypy-pymunk.util]
4139
# This is not typed
42-
disallow_untyped_defs = False
43-
check_untyped_defs = False
40+
disallow_untyped_defs = false
41+
check_untyped_defs = false

0 commit comments

Comments
 (0)