refactor: use get_pr_from_lnurl instead of api_lnurlscan (#35)

* refactor: use `get_pr_from_lnurl` instead of `api_lnurlscan`
This commit is contained in:
dni ⚡ 2025-08-18 12:11:30 +02:00 committed by GitHub
commit b457fecc90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1254 additions and 446 deletions

View file

@ -6,14 +6,14 @@ authors = ["Alan Bits <alan@lnbits.com>"]
package-mode = false
[tool.poetry.dependencies]
python = "^3.10 | ^3.9"
python = "~3.12 | ~3.11 | ~3.10"
lnbits = {version = "*", allow-prereleases = true}
[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
pytest-asyncio = "^0.21.0"
pytest = "^7.3.2"
mypy = "^1.5.1"
mypy = "^1.17.1"
pre-commit = "^3.2.2"
ruff = "^0.3.2"
@ -23,6 +23,14 @@ build-backend = "poetry.core.masonry.api"
[tool.mypy]
exclude = "(nostr/*)"
plugins = "pydantic.mypy"
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true
[[tool.mypy.overrides]]
module = [
"lnbits.*",