Files
mta-sign/pyproject.toml
2026-01-20 21:48:33 -05:00

78 lines
1.5 KiB
TOML

[project]
name = "pi-mta-sign"
version = "0.1.0"
description = ""
authors = [{ name = "Lucas Oskorep", email = "lucas.oskorep@gmail.com" }]
license = "MIT"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"requests>=2.31.0",
"fastapi>=0.100.0",
"uvicorn>=0.22.0",
"python-dotenv>=1.0.0",
"fastapi-utils>=0.2.1",
"gtfs-realtime-bindings>=1.0.0",
"typing_inspect>=0.9.0",
]
[dependency-groups]
dev = [
"ruff>=0.0.277",
"pytest>=8.0.0",
"httpx>=0.27.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["mta_api_client", "mta_sign_server"]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
# Same as Black.
line-length = 120
# Target Python 3.14.
target-version = "py314"
[tool.ruff.lint]
# Enable the pycodestyle (`E`) and Pyflakes (`F`) rules by default.
select = ["E", "F"]
ignore = []
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]