File tree Expand file tree Collapse file tree 3 files changed +42
-41
lines changed Expand file tree Collapse file tree 3 files changed +42
-41
lines changed Original file line number Diff line number Diff line change 11[build-system ]
22requires = [" setuptools" , " wheel" , " cffi >= 1.15.0" ]
3- build-backend = " setuptools.build_meta"
3+ build-backend = " setuptools.build_meta"
4+
5+
6+ [tool .isort ]
7+ multi_line_output = 3
8+ include_trailing_comma = True
9+ force_grid_wrap = 0
10+ use_parentheses = True
11+ ensure_newline_before_comments = True
12+ line_length = 88
13+
14+
15+ [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
28+
29+ # Because many values are returned directly from CFFI/Chipmunk (and are therefore Any)
30+ warn_return_any = False
31+
32+ # Because decorators are mostly from CFFI used for callbacks (and therefor untyped)
33+ disallow_untyped_decorators = False
34+
35+ exclude = [
36+ ' ^pymunk\examples\.*$' , # exclude examples from type checking
37+ ]
38+
39+
40+ [mypy-pymunk .util ]
41+ # This is not typed
42+ disallow_untyped_defs = False
43+ check_untyped_defs = False
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2424 packages = ["pymunk" , "pymunk.tests" ]
2525 exclude_package_data = {"pymunk.examples" : ["*.*" ]}
2626
27+
2728setup (
2829 name = "pymunk" ,
2930 url = "http://www.pymunk.org" ,
You can’t perform that action at this time.
0 commit comments