-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathtox.ini
56 lines (51 loc) · 1.39 KB
/
tox.ini
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
[tox]
isolated_build = True
envlist = py{39,310,311,312}
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
deps =
numpy
pin >=2.6.4
qpsolvers >=2.7.2
quadprog >=0.1.11
robot_descriptions >=1.9.0
commands =
python -m unittest discover --failfast
[testenv:coverage]
deps =
coverage
numpy
pin >=2.6.4
qpsolvers >=2.7.2
quadprog >=0.1.11
robot_descriptions >=1.9.0
commands =
coverage erase
coverage run -m unittest discover --failfast
coverage report --include="pink/*"
[testenv:lint]
deps =
black >=22.10.0
mypy >=0.812
pin >=2.6.4
pylint >=2.8.2
qpsolvers >=2.7.2
quadprog >=0.1.11
robot_descriptions >=1.9.0
ruff >=0.4.3
commands =
black --check --diff pink
mypy pink --ignore-missing-imports
pylint pink --exit-zero --rcfile={toxinidir}/tox.ini
ruff check pink
ruff format --check pink
[pylint]
; C0103: math variable names do not conform to snake_case naming style
; E1130: bad operand type for unary - (false positives fixed in newer versions of pylint, see https://github.com/PyCQA/pylint/issues/2436)
disable=C0103, E1130, import-error
generated-members=pin.Data, pin.JointModelFreeFlyer, pin.Model, pin.ReferenceFrame, pin.SE3, pin.computeJointJacobians, pin.difference, pin.getFrameJacobian, pin.integrate, pin.neutral, pin.updateFramePlacements, pin.Jlog6