-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (94 loc) · 2.31 KB
/
pyproject.toml
File metadata and controls
103 lines (94 loc) · 2.31 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
[project]
name = "flobaroid"
version = "0.9.1"
description = "FLOating BAse RObot dynamical IDentification"
readme = "README.md"
license = "LGPL-3.0"
requires-python = ">=3.13"
dependencies = [
"numpy==2.4.3",
"scipy==1.17.1",
# dynamics
"idyntree",
# sdp
"sympy==1.12.1",
"cvxopt==1.3.3",
"pylmi-sdp==1.1.1",
"ipython==9.11.0",
"pyyaml==6.0.3",
# visualization
"colorama==0.4.6",
"palettable==3.3.3",
"humanize==4.15.0",
"tqdm==4.67.3",
"jinja2==3.1.6",
"matplotlib~=3.10.8",
"trimesh==4.11.3",
"PyOpenGL==3.1.10",
"pyglet==2.1.13",
"plotly~=6.6.0",
"kaleido~=1.2.0",
"pyoptsparse==2.15.0",
"python-fcl~=0.7.0",
"mypy~=1.19.1",
"optuna>=4.8.0",
]
[project.optional-dependencies]
visualization = [
]
tikz-plots = [
"matplotlib",
"matplotlib2tikz",
]
ipopt = [
"cyipopt",
]
[tool.uv]
python-preference = "managed"
[tool.uv.sources]
pyoptsparse = { git = "https://github.com/mdolab/pyoptsparse.git", tag = "v2.15.0" }
idyntree = { git = "https://github.com/robotology/idyntree.git", tag = "v15.0.0" }
[dependency-groups]
dev = [
"ruff>=0.15.6",
"mypy>=1.19.1",
"pre-commit>=4.5.1",
"types-PyYAML",
]
[tool.ruff]
target-version = "py313"
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"W", # pycodestyle warnings
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
"E722", # bare except (used in legacy code for broad error handling)
"E741", # ambiguous variable name (common in math code: l, I, etc.)
"UP031", # printf-style formatting (common in legacy code)
]
[tool.ruff.lint.per-file-ignores]
"tools/*" = ["E402"] # tools use sys.path.insert before local imports
[tool.mypy]
python_version = "3.13"
check_untyped_defs = true
show_error_codes = true
warn_unused_configs = true
ignore_missing_imports = true
explicit_package_bases = true
mypy_path = "."
files = ["."]
exclude = [
"excitation/robotCommunication/.*", # ros/yarp modules, not testable without ROS
]
[[tool.mypy.overrides]]
module = "excitation.robotCommunication.*"
ignore_errors = true # ros/yarp modules, not testable without ROS
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--timeout=60"