Commit Graph

120 Commits

Author SHA1 Message Date
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