mirror of
https://github.com/kharonsec/br-acc
synced 2026-04-25 17:15:02 +02:00
59 lines
1.2 KiB
TOML
59 lines
1.2 KiB
TOML
[project]
|
|
name = "bracc-api"
|
|
version = "0.1.0"
|
|
description = "BRACC API — Brazilian public data anti-corruption graph tool"
|
|
requires-python = ">=3.12"
|
|
license = "AGPL-3.0-or-later"
|
|
dependencies = [
|
|
"fastapi>=0.115.0",
|
|
"uvicorn[standard]>=0.34.0",
|
|
"neo4j>=5.27.0",
|
|
"pydantic>=2.10.0",
|
|
"pydantic-settings>=2.7.0",
|
|
"PyJWT[crypto]>=2.9.0",
|
|
"bcrypt>=4.0.0",
|
|
"slowapi>=0.1.9",
|
|
"python-multipart>=0.0.18",
|
|
"weasyprint>=62.0",
|
|
"jinja2>=3.1.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.24.0",
|
|
"httpx>=0.28.0",
|
|
"mypy>=1.14.0",
|
|
"ruff>=0.9.0",
|
|
"testcontainers[neo4j]>=4.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/bracc"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 100
|
|
src = ["src", "tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W", "UP", "B", "A", "SIM", "TCH"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
strict = true
|
|
plugins = ["pydantic.mypy"]
|
|
mypy_path = "src"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
asyncio_mode = "auto"
|
|
addopts = "-m 'not integration'"
|
|
markers = [
|
|
"integration: requires running Neo4j instance",
|
|
]
|