-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
107 lines (99 loc) · 2.6 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
#_______________________________________________________
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
#_______________________________________________________
#[build-system]
#requires = ["setuptools", "wheel"]
#build-backend = "setuptools.build_meta"
#
#[tool.setuptools.packages.find]
#include = ["quadruped_pympc"] # package names should match these glob patterns (["*"] by default)
#_______________________________________________________
[project]
name = "quadruped_pympc"
version = "0.1.0"
description = "A model predictive controller for quadruped robots based on the single rigid body model and written in python. Gradient-based (acados) or Sampling-based (jax)."
authors = [
{ name="Giulio Turrisi", email="[email protected]" },
]
maintainers = [
{ name="Giulio Turrisi", email="[email protected]" },
]
readme = "README.md"
#license = "TODO"
keywords = ["robotics", "locomotion", "quadruped", "deep", "reinforcement", "learning", "environment"]
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"liecasadi",
"readchar",
"numpy",
"matplotlib",
"scipy",
#"pin",
"cmake",
"mujoco>=3.1.0",
"gym_quadruped",
]
[project.optional-dependencies]
# pip install -e .[jax] / pip install quadruped_pympc[jax]
sampling = [ # Example on how we can setup optional dependencies depending on the controller people want to use.
"jax",
"jaxlib"
]
#____________________________________________________________________________________________________________________
[tool.ruff] # Linter tool
line-length = 120
target-version = "py310"
select = [
# pyflakes
"F",
# pycodestyle
"E",
"W",
# isort
"I001",
# pydocstyle
"D"
]
ignore = [
"D401", # good for methods but not for class docstrings
"D405", # British-style section names are also "proper"!
"E701", # short single-line statements are fine
"D100",
]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".idea",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "N", "B", "C4", "SIM"]
ignore-init-module-imports = true