55 lines
1 KiB
TOML
55 lines
1 KiB
TOML
[build-system]
|
|
requires = ["flit_core >=3.4,<4"]
|
|
build-backend = "flit_core.buildapi"
|
|
|
|
[project]
|
|
name = "runboat"
|
|
authors = [{name = "St\u00e9phane Bidoul", email = "stephane.bidoul@gmail.com"}]
|
|
readme = "README.md"
|
|
classifiers = [
|
|
"License :: OSI Approved :: MIT License",
|
|
]
|
|
dependencies = [
|
|
"ansi2html",
|
|
"fastapi",
|
|
"gunicorn",
|
|
"httpx",
|
|
"jinja2",
|
|
"kubernetes",
|
|
"rich",
|
|
"sse-starlette",
|
|
"uvicorn",
|
|
]
|
|
dynamic = ["version", "description"]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest",
|
|
"pytest-asyncio",
|
|
"pytest-cov",
|
|
"pytest-dotenv",
|
|
"pytest-mock",
|
|
]
|
|
mypy = [
|
|
"mypy>=0.930",
|
|
]
|
|
|
|
[project.urls]
|
|
Home = "https://github.com/sbidoul/runboat"
|
|
|
|
[tool.isort]
|
|
profile = 'black'
|
|
|
|
[tool.pytest.ini_options]
|
|
env_override_existing_values = 1
|
|
env_files = [".env.test"]
|
|
asyncio_mode = "strict"
|
|
# flake8 config is in .flake8
|
|
|
|
[tool.mypy]
|
|
strict = true
|
|
show_error_codes = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["uvicorn.*", "urllib3.*", "kubernetes.*", "ansi2html"]
|
|
ignore_missing_imports = true
|