-
Notifications
You must be signed in to change notification settings - Fork 190
/
pyproject.toml
89 lines (77 loc) · 2.53 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["setuptools", "wheel", "cffi >= 1.17.1"]
build-backend = "setuptools.build_meta"
[project]
name = "pymunk"
version = "6.9.0" # remember to change me for new versions!
# Require cffi >1.14.0 since that (and older) has problem with returing structs from functions.
# Require cffi >= 1.17.1 since older cant work with latest setuptools version
dependencies = ["cffi >= 1.17.1"]
authors = [{ name = "Victor Blomqvist", email = "vb@viblo.se" }]
readme = "README.rst"
description = "Pymunk is a easy-to-use pythonic 2D physics library"
keywords = ["pygame", "2d", "physics", "rigid body"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Games/Entertainment",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: pygame",
"Topic :: Scientific/Engineering :: Physics",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.8"
[project.optional-dependencies]
dev = [
"pyglet < 2.0.0",
"pygame",
"sphinx",
"aafigure",
"wheel",
"matplotlib",
"numpy",
]
[project.urls]
Homepage = "https://www.pymunk.org"
Documentation = "https://www.pymunk.org"
Repository = "https://github.com/viblo/pymunk.git"
Issues = "https://github.com/viblo/viblo/issues"
Changelog = "https://github.com/viblo/pymunk/blob/master/CHANGELOG.rst"
[tool.setuptools.package-data]
"pymunk.examples" = ["*.png", "*.wav"]
[tool.setuptools.exclude-package-data]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
[tool.mypy]
disallow_untyped_defs = true
strict_equality = true
warn_unused_configs = true
disallow_any_generics = true
warn_redundant_casts = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_incomplete_defs = true
no_implicit_optional = true
no_implicit_reexport = true
check_untyped_defs = true
warn_unused_ignores = true
# Because many values are returned directly from CFFI/Chipmunk (and are therefore Any)
warn_return_any = false
# Because decorators are mostly from CFFI used for callbacks (and therefor untyped)
disallow_untyped_decorators = false
exclude = [
'^pymunk/examples/.*$', # exclude examples from type checking
]
[[tool.mypy.overrides]]
module = "pymunk.util"
# This is not typed
disallow_untyped_defs = false
check_untyped_defs = false