Spaces:
Sleeping
Sleeping
File size: 1,145 Bytes
de4eb9c c8cc6da de4eb9c | 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 | [build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "trace-env"
version = "0.1.0"
description = "OpenEnv-compatible incident response RL environment"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Rajarshi Datta" }]
dependencies = [
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"pydantic>=2.0",
"pydantic-settings>=2.0",
"openenv>=0.1.0",
"pyyaml>=6.0",
"numpy>=1.24",
"gradio>=4.0.0",
"openai>=1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
inference = [
"openai>=1.0.0",
]
[project.scripts]
server = "server.app:main"
[tool.hatch.build.targets.wheel]
packages = ["trace", "server"]
[tool.hatch.version]
path = "trace/__init__.py"
[tool.black]
line-length = 100
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
|