mirror of
https://gitlab.com/itsulu-odoo/runboat.git
synced 2026-05-30 23:41:27 +00:00
76 lines
1.3 KiB
TOML
76 lines
1.3 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",
|
|
"types-urllib3",
|
|
]
|
|
|
|
[project.urls]
|
|
Home = "https://github.com/sbidoul/runboat"
|
|
|
|
[tool.ruff]
|
|
fix = false
|
|
select = [
|
|
"E", "F", "U", "N", "S", "C", "B", "A", "I", "T", "Q", "YTT", "BLE", "C", "RUF", "M"
|
|
]
|
|
ignore = [
|
|
"B008",
|
|
"BLE001",
|
|
"N805",
|
|
"N818",
|
|
"S101",
|
|
"U007",
|
|
]
|
|
|
|
[tool.ruff.mccabe]
|
|
max-complexity = 15
|
|
|
|
[tool.ruff.isort]
|
|
known-first-party = ["runboat"]
|
|
|
|
[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.*", "kubernetes.*", "ansi2html"]
|
|
ignore_missing_imports = true
|
|
|
|
[tool.pip-deepfreeze.sync]
|
|
extras = "test,mypy"
|