All checks were successful
Build and Push Docker Image / build (push) Successful in 1m51s
PyPI version (0.2.4) is outdated. Recent commits (Jan 21, 2026) updated the API URL which may fix Cloudflare issues. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
67 lines
1.2 KiB
TOML
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 @ git+https://github.com/stanfordio/truthbrush.git@main",
|
|
"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"]
|