diff options
| author | Dennis Fink | 2026-08-09 14:15:29 +0200 |
|---|---|---|
| committer | Dennis Fink | 2026-08-09 14:22:00 +0200 |
| commit | 67eff0a854da010cb6ecd119d84238ec3e119272 (patch) | |
| tree | c4a85592b957bb01fa62f79329faa6ba0823d9b3 /pyproject.toml | |
| parent | f53c1136184d2afabfb1e5974e527229aa71939a (diff) | |
| download | webmentions-ssg-67eff0a854da010cb6ecd119d84238ec3e119272.tar.gz webmentions-ssg-67eff0a854da010cb6ecd119d84238ec3e119272.zip | |
Implement received Webmention handling
Add the Flask application setup, database models and migrations,
authentication, and configuration for development and testing.
Implement asynchronous Webmention verification with Huey, including HTML
and plain-text source validation, retries, status tracking, and size
limits.
Add status, login, and paginated received-Webmention views together with
comprehensive tests for forms, views, and receiver tasks.
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml index 28d6627..9da3352 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,17 +14,33 @@ authors = [ readme = "README.md" requires-python = ">=3.14" dependencies = [ + "beautifulsoup4>=4.15.0", "bootstrap-flask>=2.5.0", + "coloredlogs>=15.0.1", "flask>=3.1.3", - "flask-httpauth>=4.8.1", + "flask-login>=0.6.3", + "flask-migrate>=4.1.0", "flask-sqlalchemy>=3.1.1", "flask-wtf>=1.3.0", + "httpx>=0.28.1", + "huey>=3.1.0", + "rfc3987>=1.3.8", ] [project.urls] Repository = "https://codeberg.org/metalgamer/webmentions-ssg" Issues = "https://codeberg.org/metalgamer/webmentions-ssg/issues" +[dependency-groups] +dev = [ + "python-dotenv>=1.2.2", + "types-wtforms>=3.2.1.20260518", +] +test = [ + "pytest>=9.1.1", + "pytest-cov>=7.1.0", +] + [build-system] requires = ["hatchling"] build-backend = "hatchling.build" @@ -42,3 +58,17 @@ include = [ "README.md", "pyproject.toml" ] + +[tool.pytest.ini_options] +pythonpath = ["."] +testpaths = ["tests"] +addopts = [ + "-ra", + "--strict-config", + "--strict-markers", + "--cov=webmentions_ssg", + "--cov-report=html", +] + +[tool.uv] +default-groups = ["dev", "test"] |
