Commit Graph

2403 Commits

Author SHA1 Message Date
dni
5779243d3e blacked 2022-07-25 13:30:45 +02:00
dni
3d1abfa35a last mypy fails 2022-07-25 13:27:31 +02:00
dni
0bf4457c2f fixup types 2022-07-25 13:19:35 +02:00
dni
a7c10dde4a fixup types 2022-07-25 13:13:50 +02:00
dni
9cecd42467 ignore Body type 2022-07-25 12:09:29 +02:00
dni
800eda2f6d merge pipfile 2022-07-25 12:08:21 +02:00
dni
df00a018f0 added FIXME tags and fix WalletTypeInfo 2022-07-25 12:05:16 +02:00
dni
66477bc392 enable mypy checks 2022-07-25 12:05:16 +02:00
Daniel Krahofer
b865fad95e Update tests/core/views/test_api.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-07-25 12:05:16 +02:00
Daniel Krahofer
e939b9a5aa Update tests/core/views/test_api.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-07-25 12:05:16 +02:00
dni
a3e4f175dd add missing Pipfile.lock 2022-07-25 12:05:10 +02:00
dni
4dfa0873e5 fix isort check 2022-07-25 12:03:06 +02:00
dni
0e393111de fix up decorators for tests 2022-07-25 12:03:06 +02:00
dni
463fbb39bd make test run again, introduce mypy again 2022-07-25 12:03:06 +02:00
dni
88ee5fd6cc fixup requirements.txt and ad to Pipfile 2022-07-25 12:03:06 +02:00
dni
a0707f8a32 types-mock==4.0.15 to requirements, needed for mypy tests 2022-07-25 12:03:06 +02:00
dni
b9373f7283 add tests for api_payment 2022-07-25 12:03:06 +02:00
dni
a80fd5de7a black formating 2022-07-25 12:03:06 +02:00
dni
9a17e4896b fix last views api bug, thanks calle 2022-07-25 12:03:06 +02:00
dni
7f2c25336c ignore eclair websockets type 2022-07-25 12:03:06 +02:00
dni
f677777f07 fully fix decorators, thanks calle 2022-07-25 12:03:06 +02:00
dni
25d19244be mypy fixes, api, eclair 2022-07-25 12:03:06 +02:00
dni
704b572349 fix PaymentKwargs class for mypy 2022-07-25 12:03:06 +02:00
dni
56560fca02 mypy fixes for generic.py, decurators.py, eclair.py 2022-07-25 12:03:06 +02:00
dni
7ad9ad799e assert Optional[str] 2022-07-25 12:03:06 +02:00
dni
8e9b3190e4 mypy fakewallet, macaroon, bolt11 invoice 2022-07-25 12:03:06 +02:00
dni
808bd36e23 some more mypy fixes 2022-07-25 12:02:59 +02:00
dni
895770e26a remove commented out and unused code in app object, it is now used in lnbits/__main__.py directly, fixes mypy error 2022-07-25 12:00:22 +02:00
dni
2891a421f1 fix up mypy.ini, and properly ignore grpc and extension 2022-07-25 12:00:22 +02:00
calle
32a8736f32
CI: Test core/views/generic.py enabling and disabling extensions (#774) 2022-07-23 11:58:29 +02:00
calle
bf2a3e9df2
fix tip link (#773) 2022-07-23 11:01:23 +02:00
blackcoffeexbt
c0c26fb98e
Extension list UI improvements (#769)
* Extensions list is now sorted alphabetically

* Added extension list search

* Prettified changes

* Removed console.log

* Code improvements based on motorina0 feedback

* Remove console.log from lnbits/templates/base.html

Run prettier
2022-07-23 10:46:30 +02:00
calle
96af5fc3a7
CI: Test core/views/generic.py (#772)
* Adds tests for GET /wallet

* Update `httpx` to `0.23.0` and `http-core` to `0.15.0` in `venv` installation path

* Fix `secp256k1 = "==0.14.0"` and `cffi = "==1.15.0"`
2022-07-23 10:39:58 +02:00
calle
fd0d6bffce
Update FUNDING.yml (#770) 2022-07-22 12:23:27 +02:00
Arc
14344c2f03
Update FUNDING.yml 2022-07-22 11:23:16 +01:00
calle
e4df8c52e2
add mkcert instructions (#768) 2022-07-21 14:01:16 +02:00
calle
4feb45d745
LNURLp: NFC UI improvement (#767) 2022-07-21 13:39:21 +02:00
calle
76a5196dbf
LNURLp: Write NFC tags with LNURL-pay links (#766)
* NFC for LNURL-pay

* notification ui improvements
2022-07-21 12:38:30 +02:00
dni
5aa30c843c added FIXME tags and fix WalletTypeInfo 2022-07-20 13:41:13 +02:00
dni
76fdce4328 enable mypy checks 2022-07-20 13:23:50 +02:00
dni
7f960d8802 Merge branch 'fix/mypy' of github.com:dni/lnbits-legend into fix/mypy 2022-07-20 13:23:14 +02:00
dni
04df2129b0 add missing Pipfile.lock 2022-07-20 13:21:42 +02:00
Daniel Krahofer
613c5b4667
Update tests/core/views/test_api.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-07-20 13:15:18 +02:00
Daniel Krahofer
0784ae02b1
Update tests/core/views/test_api.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-07-20 13:15:06 +02:00
dni
f4e3a3980e fix isort check 2022-07-20 13:12:55 +02:00
dni
06b1f71d39 fix up decorators for tests 2022-07-20 12:21:39 +02:00
dni
2e0276bc60 make test run again, introduce mypy again 2022-07-20 12:17:34 +02:00
dni
c186e53cef fixup requirements.txt and ad to Pipfile 2022-07-20 12:05:35 +02:00
dni
5f6dc757dc types-mock==4.0.15 to requirements, needed for mypy tests 2022-07-20 12:00:53 +02:00
dni
627959e30b add tests for api_payment 2022-07-20 11:52:49 +02:00