-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (65 loc) · 1.96 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (65 loc) · 1.96 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "pyroki"
version = "0.0.0"
description = "Python Robot Kinematics Library"
readme = "README.md"
license = { text="MIT" }
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
dependencies = [
"tyro",
"jax>=0.4.0",
"jaxlib",
"jaxlie>=1.0.0",
"jax_dataclasses>=1.0.0",
"jaxtyping",
"loguru",
"robot_descriptions",
"jaxls @ git+https://github.com/brentyi/jaxls.git",
"yourdfpy",
"trimesh",
"viser",
"pyliblzfse", # Need for viser.extras import in viser==0.2.23
]
[project.optional-dependencies]
dev = [
"pyright>=1.1.308",
"scikit-sparse",
"ruff",
"pytest",
"m2r2",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors.
"F", # Pyflakes rules.
"PLC", # Pylint convention warnings.
"PLE", # Pylint errors.
"PLR", # Pylint refactor recommendations.
"PLW", # Pylint warnings.
]
ignore = [
"E731", # Do not assign a lambda expression, use a def.
"E741", # Ambiguous variable name. (l, O, or I)
"E501", # Line too long.
"E721", # Do not compare types, use `isinstance()`.
"F722", # Forward annotation false positive from jaxtyping. Should be caught by pyright.
"F821", # Forward annotation false positive from jaxtyping. Should be caught by pyright.
"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", # Globa statement updates are discouraged.
"PLW2901", # For loop variable overwritten.
]