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:
parent
d1c14ac199
commit
b457fecc90
3 changed files with 1254 additions and 446 deletions
|
|
@ -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.*",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue