-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
83 lines (71 loc) · 2.34 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
[tool.poetry]
name = "autoagora-agents"
version = "0.0.0"
authors = [
"Alexis Asseman <[email protected]>",
"Matt Deible <[email protected]>",
"Tomasz Kornuta <[email protected]>",
"Anirudh A. Patel <[email protected]>"
]
description = ""
license = ""
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: Apache Software License"
]
packages = [
{ include = "autoagora_agents" },
]
[tool.poetry.group.dev.dependencies]
pytest-cov = "^4.0.0"
[tool.poetry-dynamic-versioning]
enable = true
[tool.semantic_release]
upload_to_repository = false
version_source = "tag_only"
build_command = false
upload_to_release = false
[tool.poetry.dependencies]
python = "~3.10"
ConfigArgParse = "^1.5.3"
more-itertools = "^8.12.0"
numpy = "^1.22.3"
sacred = "^0.8.0"
gymnasium = "^0.27.0"
multipledispatch = "^0.6.0"
torch = [
# Python 3.10
{url="https://download.pytorch.org/whl/cpu/torch-1.11.0%2Bcpu-cp310-cp310-linux_x86_64.whl", markers = "python_version == '3.10' and sys_platform == 'linux' and platform_machine == 'x86_64'"},
{url="https://download.pytorch.org/whl/cpu/torch-1.11.0-cp310-none-macosx_10_9_x86_64.whl", markers = "python_version == '3.10' and sys_platform == 'darwin' and platform_machine == 'x86_64'"},
{url="https://download.pytorch.org/whl/cpu/torch-1.11.0-cp310-none-macosx_11_0_arm64.whl", markers = "python_version == '3.10' and sys_platform == 'darwin' and platform_machine == 'arm64'"}
]
[tool.poetry.dev-dependencies]
black = "^22.1.0"
isort = "^5.10.1"
pytest = "^7.1.2"
pyright = "^1.1.244"
pylint = "^2.14.5"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.4.2"
mkdocs-material = "^9.0.8"
mkdocstrings-python = "^0.8.3"
mike = "^1.1.2"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
addopts = "--strict-markers --durations=5 -vv"
markers = [
"unit: marks tests as unit tests",
]
[tool.pylint.typecheck]
# List of members which are set dynamically and missed by pylint inference system, and
# so shouldn't trigger E1101 when accessed. Python regular expressions are accepted.
generated-members = ["numpy.*" ,"torch.*"]
[tool.pyright]
useLibraryCodeForTypes = true