Fetch raw files from Forgejo, sanitize markdown to HTML, and show them on space detail. Ship a public demo fixture path and seed_demo_space command.
40 lines
895 B
TOML
40 lines
895 B
TOML
[project]
|
|
name = "coulomb-social"
|
|
version = "0.1.0"
|
|
description = "coulomb.social reimplementation — NetKingdom identity and co-creation platform"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"django>=5.2",
|
|
"psycopg[binary]>=3.2",
|
|
"whitenoise>=6.7",
|
|
"python-decouple>=3.8",
|
|
"dj-database-url>=2.1",
|
|
"gunicorn>=22.0",
|
|
"authlib>=1.3",
|
|
"httpx>=0.27",
|
|
"markdown>=3.10.3",
|
|
"bleach>=6.4.0",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-django>=4.8",
|
|
"pytest-cov>=5.0",
|
|
"ruff>=0.4",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
DJANGO_SETTINGS_MODULE = "coulomb_social.settings.test"
|
|
python_files = ["test_*.py", "tests.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
addopts = "--tb=short -q"
|
|
testpaths = ["tests", "coulomb_social"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP"]
|