Commit Graph

120 Commits

Author SHA1 Message Date
dni ⚡
cef6382e7a fix mypy offlineshop issues 2023-01-04 12:21:12 +01:00
dni ⚡
908369efff fix tpos mypy issue 2023-01-04 11:32:33 +01:00
calle
fb215ed2e3
Merge pull request #1269 from lnbits/fix/mypy/events
fix mypy issues for events
2023-01-04 09:14:23 +01:00
calle
dd65935b80
Merge pull request #1275 from prusnak/mypy-extension-paywall
fix mypy for lnbits/extensions/paywall
2023-01-04 09:10:49 +01:00
calle
82903071b8
Merge pull request #1276 from prusnak/mypy-extension-splitpayments
fix mypy for lnbits/extensions/splitpayments
2023-01-04 09:10:38 +01:00
Pavol Rusnak
2c1d02940d
fix mypy for lnbits/extensions/lnticket 2023-01-03 23:32:18 +01:00
Pavol Rusnak
0efc27993e
fix mypy for lnbits/extensions/splitpayments 2023-01-03 23:25:42 +01:00
Pavol Rusnak
236fe9f8eb
fix mypy for lnbits/extensions/paywall 2023-01-03 23:21:17 +01:00
calle
56e74f28be
Merge pull request #1270 from lnbits/fix/mypy/scrub
fix scrub for mypy
2023-01-03 12:38:37 +01:00
callebtc
a6cb1267e8 merge main 2023-01-03 12:23:11 +01:00
calle
f6ec1bc92c
Merge pull request #1262 from lnbits/fix/mypy/tipjar
fix tipjar mypy
2023-01-03 12:21:16 +01:00
callebtc
15bb0f3924 remove hivemind and lnurlpayout from mypy ignore list 2023-01-03 11:08:46 +01:00
dni ⚡
3824a108aa fix scrub for mypy 2023-01-02 11:25:01 +01:00
dni ⚡
dd645f8822 fix events for mypy 2023-01-02 11:18:25 +01:00
dni ⚡
bf69e91cae fix mypy for nostrnip5 ext 2022-12-30 09:46:45 +01:00
dni ⚡
8e344ecf4b gerty mypy fixes 2022-12-30 09:24:31 +01:00
dni ⚡
4b388475ce fix tipjar mypy issues 2022-12-30 08:48:31 +01:00
Arc
b1e08744ff
Merge pull request #1225 from leesalminen/main
New Extension: NIP-05 Verification
2022-12-29 22:32:42 +00:00
ben
861f1e585e added to ignore 2022-12-29 22:18:42 +00:00
Lee Salminen
ad572f267a Merge branch 'main' of github.com:leesalminen/lnbits-legend 2022-12-20 08:45:11 -06:00
Lee Salminen
4e996c821e format and mypy 2022-12-20 08:44:28 -06:00
dni ⚡
c90f7878d7 fix usermanager mypy 2022-12-20 13:14:49 +01:00
Vlad Stan
2eeef5c1ed
Merge branch 'main' into FinalAdminUI 2022-12-16 12:21:25 +02:00
callebtc
cef4244bfc update to cashu 0.6.0 2022-12-15 00:33:24 +01:00
dni ⚡
4702448ecf fix satspay settings 2022-12-01 12:28:28 +01:00
callebtc
04c77be523 bump cashu to 0.5.5 2022-12-01 12:21:25 +01:00
callebtc
33eb460d5c restore 7f64f426c2 2022-12-01 12:21:25 +01:00
calle
2c562b7053 Revert "Extension: Cashu" 2022-12-01 12:21:25 +01:00
callebtc
2a9bec55b9 lock cashu version 2022-12-01 12:21:25 +01:00
callebtc
e790a5567b update cashu 2022-12-01 12:21:25 +01:00
callebtc
175516f8e4 update to cashu 0.5.3 with db fix 2022-12-01 12:21:25 +01:00
callebtc
01f83dce3f cashu update 2022-12-01 12:21:25 +01:00
callebtc
da61ade4d0 works 2022-12-01 12:21:25 +01:00
callebtc
c2d2366390 adjust versions to import cashu 2022-12-01 12:21:24 +01:00
callebtc
544765cf6b can install cashu 0.4.1 2022-12-01 12:21:24 +01:00
callebtc
df59e5475e restore pyproject 2022-12-01 12:21:24 +01:00
callebtc
b41bd694a1 endpoints work 2022-12-01 12:21:24 +01:00
callebtc
70ca997c11 Revert "adjust versions"
This reverts commit 4303af4f14.
2022-12-01 12:21:24 +01:00
callebtc
2ea636ec9b adjust versions 2022-12-01 12:21:24 +01:00
callebtc
ca0a13346b bump cashu to 0.5.5 2022-11-30 17:44:55 +01:00
callebtc
35c5542b2f restore 7f64f426c2 2022-11-30 16:24:13 +01:00
calle
5c09469d61
Revert "Extension: Cashu" 2022-11-27 18:03:20 +01:00
callebtc
e3187a1d89 lock cashu version 2022-11-26 15:26:32 +01:00
callebtc
9864f2a19c update cashu 2022-11-26 03:01:06 +01:00
callebtc
0735b5bf7d update to cashu 0.5.3 with db fix 2022-11-26 02:14:39 +01:00
callebtc
7bfd8f3a62 overwrite mock data 2022-11-24 16:08:12 +01:00
dni ⚡
74eece78de merge from master 2022-11-24 14:35:32 +01:00
dni ⚡
604e52c45d
more mypy extension fixes (#1096)
* mypy fix jukebox

* mypy fix ngrok

* mypy fix satsdice

* remove exts from mypy exclude
2022-11-19 14:42:10 -06:00
callebtc
dd37368d98 cashu update 2022-11-04 19:43:23 +01:00
dni ⚡
5aa9cdd456 remove enviroms 2022-10-25 09:20:16 +02:00
dni ⚡
09871bbabc
fix mypy for extensions (#873)
* explicitly exclude all extensions from mypy

* fix example extension mypy

* fix subdomains extension mypy + 1 type error fixed

* fix mypy discordbot

* mypy check copilot extensnion

* copilot black

* add invoices ext to ignore

* add boltz and boltcard

* copilit id is necessary

* was discordbot is ok

Co-authored-by: dni <dni.khr@gmail.com>
2022-10-24 16:29:30 +02:00
callebtc
e8e4c7f9c3 works 2022-10-24 09:26:32 +02:00
callebtc
ec6bb1624a adjust versions to import cashu 2022-10-21 15:15:43 +02:00
callebtc
c10a2b647f can install cashu 0.4.1 2022-10-18 11:24:45 +02:00
callebtc
ef056d1647 restore pyproject 2022-10-18 11:20:53 +02:00
callebtc
d40298673c endpoints work 2022-10-13 22:10:33 +02:00
calle
5a12f4f237
Improved SSE listeners (#865)
* logging listeners

* comments

* generate privkey upon init

* listener queue

* remove duplicate check

* make format

* reuse channel

* error handling in sse listener

* uuid for listeners

* register named invoices

* uuid for listeners and listener list

* fix poetry lock

* setuptools

* requirements asyncio timeout

* setuptool;s

* make format

* remove async-timeout

* async_timeout readd

* try lower setuptools version

* try lower lower setuptools version

* back to current version + fix, maybe

* fix worflows to use poetry 1.2.1

* remove uneeded setuptools from build-system

* fix up formatting workflow

* debug to trace

* more traces

* debug logs to trace

Co-authored-by: dni  <office@dnilabs.com>
2022-10-04 09:51:47 +02:00
calle
4ad3c84152
downgrade pyln from 0.12.0 to 0.11.1 (#1021) 2022-09-30 13:55:46 +02:00
dni ⚡
8e06d779e7
add dependencies for corelightning and lndgrpc (#1003)
* add dependencies for corelightning and lndgrpc

* added wrong cln library, 🤦
2022-09-23 16:56:14 +03:00
dni ⚡
8305ebe6e8
fix scss error on poetry install (#989) 2022-09-23 11:02:44 +03:00
fusion44
b47685f8aa
Updates and fixes (#912)
* feat: add support for python 3.10

* fix: move all in-line comments to their own line

On some systems the environs package was uable to parse values as it
tried read the comments as code...
2022-09-23 11:02:23 +03:00
calle
8535d70d36
Poetry dev (#837)
* black and isort for tests

* black and isort for build

* use poetry in Makefile, update pyproject.toml dependencies and add configs for black, pytest, mypy, isort there

* switching github workflow to poetry

* set mininum version to python 3.7

* fix tests

* add types-protobuf to dev packages

* fix cln regtest

* update docs

* try fix 1

* mypy fix2

* fix isort formatting workflow

* add prettier to dev docs

* multiple valid python version for pyproject

* update poetry.lock

* remove development installation, not needed anymore

* fix migration workflows

* format into one test

* fix yaml

* fix pipeline

* fix pipeline

* fix again

* fix

* rename checks

* remove venv tests

* venv test once

Co-authored-by: dni <dni.khr@gmail.com>
2022-08-03 14:10:32 +02:00
ben
b8c1b2ad8f Set dep in poetry 2022-08-01 18:58:36 +01:00
ben
cb87b55e9d format 2022-08-01 18:48:56 +01:00
ben
da57f55493 poetry python dependency to any 3.9 2022-08-01 18:46:28 +01:00
ben
fed01b70bd Set python version in Poetry 2022-08-01 18:37:37 +01:00
ben
17cd1dec47 Added dependencies 2022-08-01 09:26:15 +01:00
matthewcroughan
50a5f47308 Add Poetry as a build system 2022-07-08 09:22:35 +01:00
fiatjaf
42bd5ea989 remove exception to black line-length and reformat. 2021-03-24 00:40:32 -03:00
Eneko Illarramendi
3d3632a06f refactor: add some dev files and black original code
Original server code has been moved to __init__ file, so we can
work on `lnbits` as a package.
2019-12-13 17:56:19 +01:00