Files
daily-blackout-check/pyproject.toml
Meghdad 4218e4ac36
All checks were successful
Test blackout notifier / test (push) Successful in 3m41s
Hourly blackout check / check (push) Successful in 8s
Implemented the full clean rewrite for Gitea
2026-07-17 04:33:16 +03:30

39 lines
741 B
TOML

[build-system]
requires = ["setuptools>=75"]
build-backend = "setuptools.build_meta"
[project]
name = "daily-blackout-check"
version = "1.0.0"
description = "Notify an Eitaa chat about planned electricity outages"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"jdatetime>=5,<7",
"python-dotenv>=1,<2",
"requests>=2.32,<3",
]
[project.optional-dependencies]
test = [
"pytest>=8,<10",
"ruff>=0.12,<1",
]
[project.scripts]
blackout-notifier = "blackout_notifier.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
addopts = "-q"
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]