Files
duty-teller/pyproject.toml
Nikolay Tatarinov e25eb7be2f
Some checks failed
CI / lint-and-test (push) Failing after 11s
chore: update development dependencies and improve test coverage
- Upgraded `pytest-asyncio` to version 1.0 to ensure compatibility with the latest features and improvements.
- Increased the coverage threshold in pytest configuration to 80%, enhancing the quality assurance process.
- Added a new `conftest.py` file to manage shared fixtures and improve test organization.
- Introduced multiple new test files to cover various components, ensuring comprehensive test coverage across the application.
- Updated the `.coverage` file to reflect the latest coverage metrics.
2026-02-20 17:33:04 +03:00

60 lines
1.3 KiB
TOML

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "duty-teller"
version = "0.1.0"
description = "Telegram bot for team duty shift calendar and group reminder"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"python-telegram-bot[job-queue]>=22.0,<23.0",
"python-dotenv>=1.0,<2.0",
"fastapi>=0.115,<1.0",
"uvicorn[standard]>=0.32,<1.0",
"sqlalchemy>=2.0,<3.0",
"alembic>=1.14,<2.0",
"pydantic>=2.0,<3.0",
"icalendar>=5.0,<6.0",
]
[project.scripts]
duty-teller = "duty_teller.run:main"
[project.optional-dependencies]
dev = [
"pytest>=8.0,<9.0",
"pytest-asyncio>=1.0,<2.0",
"pytest-cov>=6.0,<7.0",
"httpx>=0.27,<1.0",
]
docs = [
"mkdocs>=1.5,<2",
"mkdocstrings[python]>=0.24,<1",
"mkdocs-material>=9.0,<10",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["duty_teller*"]
[tool.alembic]
script_location = "alembic"
prepend_sys_path = "."
version_path_separator = "os"
[tool.black]
line-length = 120
target-version = ["py311"]
[tool.pytest.ini_options]
addopts = "--cov=duty_teller --cov-report=term-missing --cov-fail-under=80"
asyncio_mode = "auto"
filterwarnings = [
"ignore::DeprecationWarning:pytest_asyncio.plugin",
]
[tool.pylint.messages_control]
disable = ["C0114", "C0115", "C0116"]