-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
296 lines (279 loc) · 6.29 KB
/
pyproject.toml
File metadata and controls
296 lines (279 loc) · 6.29 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
[build-system]
requires = ["setuptools>=80.9.0", "setuptools-scm>=8.0.0", "wheel>=0.45.0"]
build-backend = "setuptools.build_meta"
[project]
name = "InterpolatePy"
authors = [{ name = "Giorgio Medico", email = "giorgio.medico11@gmail.com" }]
maintainers = [
{ name = "Giorgio Medico", email = "giorgio.medico11@gmail.com" },
]
description = "A comprehensive Python library for generating smooth trajectories and curves with precise control over position, velocity, acceleration, and jerk profiles"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.11"
keywords = [
"interpolation",
"trajectory planning",
"motion profiles",
"robotics",
"b-splines",
"cubic splines",
"frenet frames",
"path generation",
"motion control",
]
classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: POSIX :: Linux",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: C++",
]
dependencies = ["numpy>=2.3.0", "matplotlib>=3.10.5", "scipy>=1.16.0"]
dynamic = ["version"]
[project.urls]
"Homepage" = "https://github.com/GiorgioMedico/InterpolatePy"
"Bug Tracker" = "https://github.com/GiorgioMedico/InterpolatePy/issues"
[project.optional-dependencies]
test = [
"pytest>=8.4.0",
"pytest-cov>=4.1.0",
"codecov>=2.1.13",
"pytest-benchmark>=4.0.0",
"pre-commit>=4.2.0",
]
dev = [
"ruff>=0.12.8",
"mypy>=1.17.0",
"pre-commit>=4.2.0",
"pyright>=1.1.400",
"build>=1.0.3",
"twine>=4.0.2",
]
docs = [
"mkdocs>=1.5.3",
"mkdocs-material>=9.4.8",
"pymdown-extensions>=10.3.0",
"mkdocs-autorefs>=0.5.0",
"mkdocstrings>=0.23.0",
"mkdocstrings-python>=1.7.3",
"Pygments>=2.16.1",
]
all = ["interpolatepy[test,dev,docs]"]
[tool.setuptools]
platforms = ["unix", "linux", "osx", "cygwin", "win32"]
[tool.setuptools.packages.find]
where = ["."]
include = ["interpolatepy*"]
[tool.setuptools.dynamic]
version = { attr = "interpolatepy.version.__version__" }
[tool.pytest.ini_options]
minversion = "8.4"
testpaths = "tests"
[tool.ruff]
target-version = "py312"
line-length = 120
preview = true
extend-exclude = ["docs", "test", "tests"]
[tool.ruff.lint]
select = ["F", "E"]
extend-select = [
"W",
"C90",
"I", # isort rules
"N",
"UP",
"YTT",
"ANN",
"ASYNC",
"BLE",
"B",
"A",
"COM",
"C4",
"EXE",
"FA",
"ISC",
"ICN",
"INP",
"PIE",
"PYI",
"PT",
"Q",
"RSE",
"RET",
"SLF",
"SLOT",
"SIM",
"TID",
"TCH",
"INT",
"ARG",
"PTH",
"TD",
"FIX",
"PD",
"PL",
"TRY",
"FLY",
"NPY",
"PERF",
"RUF",
]
ignore = [
"I001",
"ANN401",
"SIM300",
"PERF203",
"B905",
"NPY002",
"COM812",
"N999",
"PTH",
"INP001",
"TRY003",
"PLW1641",
"PLR0914", # Too many local variables
"PLR0915", # Too many statements
"PLR0917", # Too many arguments
"PLR0904", # Too many public methods
"C901",
"PLR0912",
]
fixable = [
"W",
"C90",
"I",
"N",
"UP",
"YTT",
"ANN",
"ASYNC",
"BLE",
"B",
"A",
"COM",
"C4",
"EXE",
"FA",
"ISC",
"ICN",
"INP",
"PIE",
"PYI",
"PT",
"Q",
"RSE",
"RET",
"SLF",
"SLOT",
"SIM",
"TID",
"TCH",
"INT",
"ARG",
"PTH",
"TD",
"FIX",
"PD",
"PL",
"TRY",
"FLY",
"NPY",
"PERF",
"RUF",
]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.isort]
force-single-line = true
force-sort-within-sections = false
lines-after-imports = 2
known-third-party = ["numpy", "matplotlib", "scipy"]
split-on-trailing-comma = true
combine-as-imports = true
force-wrap-aliases = true
[tool.ruff.lint.mccabe]
max-complexity = 24
[tool.ruff.lint.pycodestyle]
ignore-overlong-task-comments = true
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = false
ignore-fully-untyped = false
# Ruff formatter (replaces black)
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
# Black-compatible settings
docstring-code-format = false
docstring-code-line-length = "dynamic"
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
follow_imports = "silent"
no_implicit_optional = true
strict_optional = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
warn_return_any = false
check_untyped_defs = true
disallow_untyped_calls = false
disallow_untyped_defs = false
disallow_incomplete_defs = true
disallow_untyped_decorators = false
disallow_subclassing_any = true
disallow_any_unimported = false
disallow_any_expr = false
disallow_any_decorated = false
disallow_any_explicit = false
disallow_any_generics = false
allow_untyped_globals = false
allow_redefinition = false
local_partial_types = false
implicit_reexport = true
strict_equality = true
show_error_context = false
show_column_numbers = false
show_error_codes = true
exclude = ["docs"]
[tool.pyright]
pythonVersion = "3.12"
typeCheckingMode = "basic"
reportDuplicateImport = true
reportInvalidStubStatement = true
reportOverlappingOverload = true
reportPropertyTypeMismatch = true
reportUntypedClassDecorator = true
reportUntypedFunctionDecorator = true
reportUntypedNamedTuple = true
reportUnusedImport = true
reportGeneralTypeIssues = true
reportMissingModuleSource = false
reportOptionalCall = true
reportOptionalIterable = true
reportOptionalMemberAccess = true
reportOptionalOperand = true
reportOptionalSubscript = true
reportPrivateImportUsage = true
reportUnboundVariable = true