-
Notifications
You must be signed in to change notification settings - Fork 154
/
Copy pathpyproject.toml
95 lines (87 loc) · 2.89 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
90
91
92
93
94
95
[project]
name = "symforce"
description = "Fast symbolic computation, code generation, and nonlinear optimization for robotics"
license = { text = "Apache 2.0" }
keywords = [
"python",
"computer-vision",
"cpp",
"robotics",
"optimization",
"structure-from-motion",
"motion-planning",
"code-generation",
"slam",
"autonomous-vehicles",
"symbolic-computation",
]
# For a list of valid classifiers see https://pypi.org/classifiers/
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Embedded Systems",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Education :: Computer Aided Instruction (CAI)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: C++",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
requires-python = ">=3.8"
dynamic = ["version", "readme", "dependencies", "optional-dependencies"]
[project.urls]
"Bug Tracker" = "https://github.com/symforce-org/symforce/issues"
Source = "https://github.com/symforce-org/symforce"
[tool.setuptools_scm]
# Empty, presence enables setuptools_scm
# --------------------------------------------------------------------------------
# Mypy
# --------------------------------------------------------------------------------
[tool.mypy]
python_version = "3.8"
warn_unused_configs = true
warn_unused_ignores = true
disallow_untyped_defs = true
mypy_path = [".", "gen/python", "$SYMFORCE_LCMTYPES_DIR", "symforce/pybind"]
explicit_package_bases = true
enable_error_code = ["ignore-without-code"]
[[tool.mypy.overrides]]
module = [
"IPython.*",
"argh.*",
"clang_format",
"graphviz.*",
"mpl_toolkits.*",
"numba.*",
"ruff.*",
"scipy.*",
"setuptools_scm.*",
"skymarshal.*",
"symengine.*",
"sympy.*",
"torch.*", # We don't require torch to be installed
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "lcmtypes"
follow_imports = "silent"
# matplotlib has some overly restrictive / wrong annotations, on animation.FuncAnimation. It also
# requires annotating Axes3d to get proper typing
[[tool.mypy.overrides]]
module = "matplotlib.*"
follow_imports = "skip"
follow_imports_for_stubs = true
# the py3.8 version of matplotlib has no type stubs, so we fully ignore it
ignore_missing_imports = true