38 lines
760 B
TOML
38 lines
760 B
TOML
[project]
|
|
name = "voting-app"
|
|
version = "0.1.0"
|
|
description = "U.S. Congress legislator voting history viewer with AI-generated bill summaries"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"flask>=3.0",
|
|
"gunicorn>=21.2",
|
|
"requests>=2.31",
|
|
"python-dotenv>=1.0",
|
|
"flask-cors>=6.0.2",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.4",
|
|
"pytest-cov>=4.1",
|
|
"ruff>=0.1",
|
|
]
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 120
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "W", "F", "I", "N", "UP", "B", "SIM"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|
|
line-ending = "lf"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
markers = [
|
|
"integration: marks tests as integration tests (requires real API access)",
|
|
]
|