feat: rework to use next and host from single dockerfile

This commit is contained in:
Lucas Oskorep
2026-01-20 21:48:33 -05:00
parent dae0625278
commit 28a84293c9
44 changed files with 7592 additions and 10664 deletions

View File

@@ -1,39 +1,36 @@
[tool.poetry]
[project]
name = "pi-mta-sign"
version = "0.1.0"
description = ""
authors = ["Lucas Oskorep <lucas.oskorep@gmail.com>"]
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",
]
[tool.poetry.dependencies]
python = "^3.10"
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"
[tool.poetry.group.dev.dependencies]
ruff = "^0.0.277"
[dependency-groups]
dev = [
"ruff>=0.0.277",
"pytest>=8.0.0",
"httpx>=0.27.0",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["mta_api_client", "mta_sign_server"]
[tool.ruff]
# Enable the pycodestyle (`E`) and Pyflakes (`F`) rules by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = ["E", "F"]
ignore = []
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
@@ -61,11 +58,20 @@ exclude = [
# 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]+?))$"
# Assume Python 3.10.
target-version = "py311"
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]