-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
108 lines (101 loc) · 2.77 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
108
[build-system]
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "mink"
version = "0.0.5"
readme = "README.md"
authors = [
{name = "Kevin Zakka", email = "zakka@berkeley.edu"},
]
requires-python = ">=3.9"
dynamic = ["description"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Robot Framework :: Library",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
dependencies = [
# 3.1.6 for mj_geomDistance.
"mujoco >= 3.1.6",
"qpsolvers[quadprog] >= 4.3.1",
"typing_extensions",
"numpy < 2.0.0",
]
keywords = ["inverse", "kinematics", "mujoco"]
[project.optional-dependencies]
examples = [
"dm_control >= 1.0.20",
"loop-rate-limiters >= 0.1.0",
"qpsolvers[quadprog,osqp] >= 4.3.1",
]
test = [
"absl-py",
"coveralls",
"pytest",
"robot_descriptions >= 1.9.0",
]
dev = [
"black",
"mink[test]",
"mypy",
"ruff",
]
all = [
"mink[examples,dev]",
]
[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.flit.module]
name = "mink"
[tool.ruff]
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. (this is used for exporting names)
"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.mypy]
python_version = "3.12"
ignore_missing_imports = true
warn_unused_configs = true
exclude = ["scripts/"]
[tool.coverage.report]
exclude_also = [
"raise NotImplementedError",
"if __name__ == .__main__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
"def __repr__",
]
omit = [
"*exceptions.py",
]