forked from symforce-org/symforce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
107 lines (97 loc) · 2.95 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
96
97
98
99
100
101
102
103
104
105
106
107
[project]
name = "symforce"
description = "Fast symbolic computation, code generation, and nonlinear optimization for robotics"
authors = [{ name = "Skydio, Inc.", email = "hayk@skydio.com" }]
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"
# --------------------------------------------------------------------------------
# Ruff
# --------------------------------------------------------------------------------
[tool.ruff]
line-length = 100
exclude = ["third_party", "build", ".eggs"]
extend-include = ["*.ipynb"]
select = [
"I", # isort
"RUF100", # unused-noqa
]
[tool.ruff.lint.isort]
known-first-party = ["sym", "symforce"]
force-single-line = true
section-order = [
"future",
"standard-library",
"third-party",
"generated",
"first-party",
"local-folder",
]
[tool.ruff.lint.isort.sections]
"generated" = ["lcmtypes"]
# --------------------------------------------------------------------------------
# Mypy
# --------------------------------------------------------------------------------
[tool.mypy]
python_version = "3.8"
warn_unused_configs = true
disallow_untyped_defs = true
mypy_path = [".", "gen/python", "$SYMFORCE_LCMTYPES_DIR", "symforce/pybind"]
[[tool.mypy.overrides]]
module = [
"IPython.*",
"argh.*",
"graphviz.*",
"matplotlib.*",
"mpl_toolkits.*",
"numba.*",
"ruff.*",
"scipy.*",
"skymarshal.*",
"symengine.*",
"sympy.*",
"torch.*", # We don't require torch to be installed
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "lcmtypes"
follow_imports = "silent"