forked from kevinzakka/mink
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (126 loc) · 3.54 KB
/
Copy pathpyproject.toml
File metadata and controls
138 lines (126 loc) · 3.54 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
[build-system]
requires = ["scikit-build-core>=0.10", "numpy"]
build-backend = "scikit_build_core.build"
[project]
name = "mink"
version = "1.1.0"
license = "Apache-2.0"
license-files = ["LICENSE"]
readme = { file = "README.md", content-type = "text/markdown" }
authors = [
{name = "Kevin Zakka", email = "zakka@berkeley.edu"},
]
keywords = ["inverse", "kinematics", "mujoco"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Robot Framework :: Library",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
]
description = "Python inverse kinematics based on MuJoCo"
requires-python = ">=3.10,<3.14"
dependencies = [
"mujoco >= 3.3.6",
"qpsolvers[daqp] >= 4.3.1",
"typing_extensions",
]
[dependency-groups]
dev = [
"ipdb>=0.13.13",
"pyright>=1.1.408",
"pytest>=8.4.2",
"absl-py",
"coveralls",
"robot_descriptions>=1.14.0",
"ruff>=0.14.3",
"ty>=0.0.1a23",
"loop-rate-limiters >= 0.1.0",
]
doc = [
"sphinx>=7.2.6",
"sphinx-autobuild",
"sphinx-copybutton",
"sphinx-design",
"sphinx-favicon",
"sphinx-mathjax-offline",
"toml>=0.10.2",
"sphinx-book-theme>=1.1.4",
]
[project.urls]
Source = "https://github.com/kevinzakka/mink"
Tracker = "https://github.com/kevinzakka/mink/issues"
Changelog = "https://github.com/kevinzakka/mink/blob/main/CHANGELOG.md"
Homepage = "https://kevinzakka.github.io/mink/"
Documentation = "https://kevinzakka.github.io/mink/"
[tool.ruff]
src = ["src"] # Helpful for recognizing first-party imports.
exclude = [
"typings",
]
lint.select = [
"E", # pycodestyle errors.
"F", # Pyflakes rules.
"PLC", # Pylint convention warnings.
"PLE", # Pylint errors.
"PLR", # Pylint refactor recommendations.
"PLW", # Pylint warnings.
"I", # Import sorting.
]
lint.ignore = [
"E741", # Ambiguous variable name. (l, O, or I)
"E501", # Line too long.
"PLR2004", # Magic value used in comparison.
"PLR0915", # Too many statements.
"PLR0913", # Too many arguments.
"PLC0414", # Import alias does not rename variable.
"PLC1901", # Use falsey strings.
"PLR5501", # Use `elif` instead of `else if`.
"PLR0911", # Too many return statements.
"PLR0912", # Too many branches.
"PLW0603", # Global statement updates are discouraged.
"PLW2901", # For loop variable overwritten.
]
[tool.pyright]
pythonVersion = "3.10"
ignore = ["typings", "scripts", "docs"]
stubPath = "typings"
[tool.ty.environment]
extra-paths = ["typings"]
[tool.ty.src]
include = ["src", "tests"]
exclude = ["typings"]
[tool.coverage.report]
exclude_also = [
"raise NotImplementedError",
"if __name__ == .__main__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
"def __repr__",
"if use_taylor:",
"if t2 < get_epsilon",
"if norm < get_epsilon",
"MINK_DISABLE_NATIVE",
"except ImportError:",
"def ljac",
"def rjac",
]
omit = [
"*exceptions.py",
"*/contrib/*",
]
[tool.scikit-build]
wheel.packages = ["src/mink"]
sdist.exclude = ["examples", "benchmarks", "docs", "tests", "typings", "uv.lock"]
[tool.cibuildwheel]
build-frontend = "build[uv]"
[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"]
[[tool.scikit-build.overrides]]
if.failed = true
wheel.cmake = false
wheel.packages = ["src/mink"]