Files
daily-counter/pyproject.toml
John Ahlroos 1e80d1575d
Some checks failed
Run Tests / run-tests (push) Failing after 29s
Consolidate pytest.ini with pyproject.toml & add test
2026-04-25 13:04:03 +02:00

52 lines
1.2 KiB
TOML

[project]
name = "daily-counter"
description = "A daily counter for any habbit tracking"
version = "0.1"
dynamic = ["version"]
requires-python = ">=3.10,<4"
dependencies = [
"alembic (==1.18.4)",
"streamlit (==1.56.0)",
"toml-cli (==0.8.2)",
"authlib (==1.6.9)",
"sqlalchemy (>=2.0.49,<3.0.0)",
"pytest-alembic (>=0.12.1,<0.13.0)",
"pytest-env (>=1.6.0,<2.0.0)"
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[virtualenvs]
in-project = true
create = true
[tool.alembic]
script_location = "%(here)s/migrations"
truncate_slug_length = 10
file_template = "%%(year)d%%(month).2d%%(day).2d%%(hour)2d%%(minute)2d%%(second).2d_%%(slug)s"
prepend_sys_path = [
"."
]
[tool.poetry]
package-mode = false
[tool.poetry.group.dev.dependencies]
pytest = ">=9.0"
[tool.poetry.dependencies]
python = ">=3.10,<4"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format="%Y-%m-%d %H:%M:%S"
pythonpath = "../app"
env = [
"DATABASE_FILE=testdb.sqlite",
"DATABASE_URL=sqlite:///testdb.sqlite?cache=shared"
]