-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (75 loc) · 1.97 KB
/
pyproject.toml
File metadata and controls
86 lines (75 loc) · 1.97 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
[tool.poetry]
name = "optimos_v2"
version = "0.0.1"
description = "optimos_v2"
authors = ["Jannis Rosenbaum <jannis@ut.ee>"]
readme = "README.md"
package-mode = true
packages = [{ include = "o2" }]
[tool.poetry.dependencies]
python = ">=3.10,<3.11"
numpy = "^1.26.4"
# pix-framework = { path = "../pix-framework", develop = true }
prosimos = { git = "https://github.com/sinnaj-r/Prosimos.git", branch = "main" }
# prosimos = { path = "../Prosimos", develop = true }
click = "^8.1.7"
pandas = "^2.2.3"
dataclass-wizard = "^0.22.3"
sympy = "^1.12.1"
scipy = "^1.13.0"
fastapi = "^0.114.0"
uvicorn = "^0.30.6"
rtree = { git = "https://github.com/sinnaj-r/rtree.git", branch = "main" }
# rtree = { path = "../rtree", develop = true }
xxhash = "^3.5.0"
torch = "^2.5.0"
sb3-contrib = "^2.3.0"
tensorflow = "^2.18.0"
orjson = "^3.10.16"
colorama = "^0.4.6"
[tool.poetry.group.dev.dependencies]
pytest-cov = "^5.0.0"
pytest-watch = "^4.2.0"
tensorboard = "^2.18.0"
memray = "^1.14.0"
pyright = "^1.1.400"
ruff = "^0.11.9"
[tool.poetry.scripts]
server = "o2_server.server:start"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
source = ["o2"]
[tool.pytest.ini_options]
addopts = "--ignore=states --ignore=evaluations"
# addopts = "--cov --cov-report=lcov:lcov.info --cov-report=term"
pythonpath = ["."]
[tool.ruff]
lint.select = [
"E", # pycodestyle
"W", # pycodestyle warnings
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
"D", # Docstring conventions (pydocstyle)
"N", # PEP 8 naming conventions
"W", # Pycodestyle warnings
"B", # Bugbear
"Q", # Flake8-quotes
"ANN", # Annotations (flake8-annotations)
]
lint.ignore = [
"D100", # Missing docstring in public module
"D107",
"ANN202",
"D203",
"D213",
]
line-length = 110
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D", "ANN"]
[tool.pyright]
include = ["o2"]