-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
180 lines (161 loc) · 4.92 KB
/
Copy pathpyproject.toml
File metadata and controls
180 lines (161 loc) · 4.92 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "mujoco-toolbox"
version = "0.6.3"
requires-python = ">=3.9,<4.0"
description = "A Modern Simulation Wrapper for Google DeepMind's MuJoCo"
readme = "README.md"
license = { file = "LICENSE" }
packages = [{ include = "mujoco_toolbox" }]
authors = [
{ name = "MGross21", email = "MGross21@example.com" }
]
keywords = ["MuJoCo", "mujoco", "robotics", "simulation", "toolbox", "wrapper"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent"
]
dynamic = ["classifiers","dependencies"]
[tool.poetry.dependencies]
python = "^3.11"
mujoco = "*"
numpy = "*"
scipy = "*"
matplotlib = "*"
pyyaml = "*"
ffmpeg = "*"
imageio = { version = "*", extras = ["ffmpeg"] }
trimesh = "*"
tqdm = "*"
ipywidgets = "*"
jinja2 = "*"
screeninfo = "*"
colorama = "*"
rich = "*"
defusedxml = "^0.7.1"
gym = { version = "*", optional = true }
[project.optional-dependencies]
# beautified = ["colorama", "rich"]
gym = ["gym"]
[project.urls]
homepage = "https://github.com/MGross21/mujoco-toolbox"
repository = "https://github.com/MGross21/mujoco-toolbox"
documentation = "https://mgross21.github.io/mujoco-toolbox/"
changelog = "https://github.com/MGross21/mujoco-toolbox/blob/main/CHANGELOG.md"
"Bug Tracker" = "https://github.com/MGross21/mujoco-toolbox/issues"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.5"
ruff = "^0.11.2"
mypy = "*"
pytypes = "^1.0b10"
black = "^25.1.0"
isort = "^6.0.1"
flake8 = "^7.1.2"
bandit = "^1.8.3"
pylint = "^3.3.4"
python-semantic-release = "^9.21.0"
python-dotenv = "^1.1.0"
pytest-cov = "^3.0.0"
sphinx = "^8.2.3"
sphinx-rtd-theme = "^3.0.2"
[tool.semantic_release.branches.main]
match = "main"
prerelease = false
[tool.semantic_release.branches.dev]
match = "dev"
prerelease = true
[tool.semantic_release]
version_variables = [
"pyproject.toml:version",
"mujoco_toolbox/__init__.py:__version__",
"CITATION.cff:version",
]
changelog_file = "CHANGELOG.md"
build_command = "poetry build"
dist_path = "dist/"
upload_to_pypi = true
upload_to_release = true
commit_version_number = true
tag_format = "v{version}"
commit_message = "chore(release): {version} [skip ci]"
[tool.semantic_release.commit_analyzer]
preset = "angular"
release_rules = [
{ type = "feat", release = "minor" },
{ type = "fix", release = "patch" },
{ type = "perf", release = "patch" },
{ type = "refactor", release = "patch" },
{ type = "docs", release = false },
{ type = "style", release = false },
{ type = "chore", release = false },
{ type = "build", release = false },
{ type = "ci", release = false },
{ type = "test", release = false }
]
parser_opts = {allowed_tags = [
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"style",
"refactor",
"test"]}
[tool.semantic_release.release_notes_generator]
preset = "angular"
preset_config = {types = [
{ type = "feat", section = "Features", hidden = false },
{ type = "fix", section = "Bug Fixes", hidden = false },
{ type = "perf", section = "Performance Improvements", hidden = false },
{ type = "refactor", section = "Refactors", hidden = false }
]}
[tool.black]
line-length = 79 # PEP8 line length
[tool.ruff]
line-length = 79 # PEP8 line length
[tool.ruff.lint]
# select = ["E", "F", "W", "C90"] # Select error, warning, and flake8 rules
select = ["ALL"] # Enable all rules
ignore = ["T20","INP001"] # Rules to Ignore
fixable = ["ALL"] # Enable auto-fixing for all fixable issues
extend-select = ["I", "B", "Q", "S"]
exclude = [
"*venv/", "*__pycache__", "build/", "dist/",
".tox/", ".eggs/", ".git/", ".idea/", ".mypy_cache/"
] # Exclude these directories from linting
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_calls = true
disallow_untyped_defs = true
strict_optional = true
[tool.isort]
profile = "black" # Use black's code style
known_third_party = [
"mujoco", "numpy", "scipy", "matplotlib", "pyyaml",
"mediapy", "ffmpeg", "trimesh", "screeninfo", "colorama"
]
known_first_party = ["mujoco_toolbox"]
line_length = 79 # PEP8 line length
# Flake8 settings
[tool.flake8]
max-line-length = 79 # PEP8 line length
extend-ignore = ["E203", "W503"] # For compatibility with black
# Bandit settings
[tool.bandit]
# Enable all checks, you can modify this depending on your project needs
skips = ["B101", "B102"] # Ignore certain checks like hardcoded passwords
# Pylint settings
[tool.pylint]
max-line-length = 79 # PEP8 line length
disable = ["C0114", "C0115", "C0116"] # Disable docstring warnings