-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (66 loc) · 2.33 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (66 loc) · 2.33 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
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
[project]
name = "multi_step_mbrl"
authors = [
{name = "Abdelhakim Benechehab", email = "abdelhakim.benechehab@gmail.com"}
]
dynamic = ["version", "readme", "dependencies"]
description = "Collection of agents and models for multi-step model-based reinforcement learning algorithms."
requires-python = ">=3.8"
classifiers=[
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
]
[project.urls]
# Homepage = "https://github.com/ramp-kits/rl_simulator"
[project.optional-dependencies]
dev = ['ruff', 'pytest', 'pytest-cov', 'pytest-check', 'pytest-mock', 'pre-commit', 'black']
[tool.setuptools]
license-files = ['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']
[project.scripts]
# exp-launcher = "multi_step_mbrl.exp_launcher:exp_launcher_command"
[tool.setuptools.dynamic]
readme = { file = ["README.md"] }
dependencies = { file = ["requirements.txt"] }
[tool.setuptools_scm]
[tool.pytest.ini_options]
filterwarnings = [
'ignore:distutils Version classes are deprecated:DeprecationWarning',
'ignore:`np.bool8` is a deprecated alias for `np.bool_`:DeprecationWarning',
# 'ignore:Training and eval env are not of the same type:UserWarning',
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"legacy: old tests that should be updated or removed"
]
[tool.coverage.run]
source = ['src']
[tool.coverage.report]
exclude_also = [
# Don't complain about missing debug-only code:
"def __repr__",
"if self\\.debug",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
# Don't complain about abstract methods, they aren't run:
"@(abc\\.)?abstractmethod",
# Don't complain about typing imports, they aren't run:
"if TYPE_CHECKING:",
# Don't complain about optional imports, they don't matter for now:
"except ImportError:"
]
[tool.ruff.lint]
select = ["ALL"]
[tool.ruff]
line-length = 88