|
2 | 2 | requires = ["setuptools", "wheel", "cffi >= 1.15.0"]
|
3 | 3 | build-backend = "setuptools.build_meta"
|
4 | 4 |
|
5 |
| - |
6 | 5 | [tool.isort]
|
7 | 6 | multi_line_output = 3
|
8 |
| -include_trailing_comma = True |
| 7 | +include_trailing_comma = true |
9 | 8 | force_grid_wrap = 0
|
10 |
| -use_parentheses = True |
11 |
| -ensure_newline_before_comments = True |
| 9 | +use_parentheses = true |
| 10 | +ensure_newline_before_comments = true |
12 | 11 | line_length = 88
|
13 | 12 |
|
14 |
| - |
15 | 13 | [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 |
28 | 26 |
|
29 | 27 | # Because many values are returned directly from CFFI/Chipmunk (and are therefore Any)
|
30 |
| -warn_return_any = False |
| 28 | +warn_return_any = false |
31 | 29 |
|
32 | 30 | # Because decorators are mostly from CFFI used for callbacks (and therefor untyped)
|
33 |
| -disallow_untyped_decorators = False |
| 31 | +disallow_untyped_decorators = false |
34 | 32 |
|
35 | 33 | exclude = [
|
36 |
| - '^pymunk\examples\.*$', # exclude examples from type checking |
| 34 | + '^pymunk\examples\.*$', # exclude examples from type checking |
37 | 35 | ]
|
38 | 36 |
|
39 | 37 |
|
40 | 38 | [mypy-pymunk.util]
|
41 | 39 | # 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