Spaces:
Sleeping
Sleeping
File size: 1,508 Bytes
0678542 43c1941 0678542 3eb9552 0678542 | 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 | [build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "openenv"
version = "1.0.0"
description = "A Production-Ready Reinforcement Learning Environment"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"gymnasium>=0.28.0",
"numpy>=1.21.0",
"fastapi>=0.110.0",
"uvicorn>=0.29.0",
"openenv-core>=0.2.0",
"stable-baselines3>=2.0.0",
"sb3-contrib>=2.0.0",
"matplotlib>=3.5.0",
"pyyaml>=6.0",
"pydantic>=2.0.0",
"openai>=1.0.0",
"gradio>=4.0.0",
"pygame>=2.0.0",
"pytest>=7.0.0",
]
[project.scripts]
openenv = "openenv.scripts.cli:main"
server = "server.app:main"
[tool.pytest.ini_options]
minversion = "7.0"
addopts = [
"-ra",
"-q",
"--strict-markers",
"--strict-config",
"--cov=openenv",
"--cov-report=term-missing",
]
testpaths = [
"tests",
]
python_files = [
"test_*.py",
]
python_classes = [
"Test*",
]
python_functions = [
"test_*",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks integration tests",
]
[tool.black]
line-length = 100
target-version = ['py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
|