Files
pravda/pyproject.toml
Steve Dudenhoeffer 26e14880a8
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m19s
Fix truthbrush version constraint
Use available version 0.2.4 instead of non-existent 0.5.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 01:11:59 -05:00

67 lines
1.2 KiB
TOML

[project]
name = "pravda"
version = "1.0.0"
description = "Truth Social to Discord relay service"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"truthbrush>=0.2.4",
"requests>=2.31.0",
"fastapi>=0.109.0",
"uvicorn[standard]>=0.27.0",
"ffmpeg-python>=0.2.0",
"pynacl>=1.5.0",
"aiofiles>=23.2.0",
"httpx>=0.26.0",
]
[project.optional-dependencies]
dev = [
"black",
"ruff",
"mypy",
"pytest",
"types-requests",
]
[tool.black]
line-length = 88
target-version = ["py312"]
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by black)
]
[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"truthbrush.*",
"ffmpeg.*",
"nacl.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]