-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathpyproject.toml
67 lines (59 loc) · 1.89 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
[project]
name = "gym_electric_motor"
version = "3.0.2"
authors = [
{ name = "Arne Traue" },
{ name = "Gerrit Book" },
{ name = "Praneeth Balakrishna" },
{ name = "Pascal Peters" },
{ name = "Pramod Manjunatha" },
{ name = "Darius Jakobeit" },
{ name = "Felix Book" },
{ name = "Max Schenke" },
{ name = "Wilhelm Kirchgässner" },
{ name = "Oliver Wallscheid" },
{ name = "Barnabas Haucke-Korber" },
{ name = "Stefan Arndt" },
{ name = "Marius Köhler" },
{ name = "Ranil Thomas" },
]
description = "A Farama Gymnasium environment for electric motor control."
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dynamic = ["dependencies"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[project.urls]
Homepage = "https://github.com/upb-lea/gym-electric-motor"
Issues = "https://github.com/upb-lea/gym-electric-motor/issues"
[build-system]
requires = ["hatchling", "hatch-requirements-txt"]
build-backend = "hatchling.build"
[tool.hatch.metadata.hooks.requirements_txt]
files = ["requirements.txt"]
[tool.hatch.build.targets.wheel]
packages = ["/src/gym_electric_motor", "/src/gem_controllers"]
[tool.hatch.build.targets.sdist]
include = [
"src/gym_electric_motor",
"src/gem_controllers",
"examples/classic_controllers",
"tests",
]
[tool.ruff]
src = ["src"]
line-length = 120
exclude = ["tests"]
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
# I for isort
select = ["E4", "E7", "E9", "F", "I"]
ignore = ["F401"] # imported but unused
ignore-init-module-imports = true # ignore imports in __init__.py