Commit Graph

2544 Commits

Author SHA1 Message Date
dni
00dba54ac8 remove FIXME add couple of ignores 2022-07-26 12:21:21 +02:00
dni
e63c4c9fa2 revert self.wallet change 2022-07-26 12:07:16 +02:00
dni
27ce17cd74 blacked 2022-07-26 10:10:07 +02:00
dni
1c543e3a84 ignore macaroon type errors 2022-07-26 09:56:46 +02:00
dni
345cf86544 fix another fastapi type 2022-07-26 09:52:57 +02:00
dni
e4078910c4 fix another fastapi type 2022-07-26 09:38:31 +02:00
dni ⚡
5810a4993b
Update lnbits/core/views/api.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-07-26 09:08:16 +02:00
ben
b90b5ea517 Merge branch 'main' into matthewcroughan/nixify 2022-07-25 15:59:54 +01:00
Arc
ea76995467
Merge pull request #782 from lnbits/revert-781-revert-758-lnurl/check_description_hash
Revert "Revert "LNURLp: check description hash""
2022-07-25 15:55:05 +01:00
Arc
2d46eda5f5
Revert "Revert "LNURLp: check description hash"" 2022-07-25 15:54:49 +01:00
ben
309a4dbd1a Merge branch 'main' into matthewcroughan/nixify 2022-07-25 15:33:41 +01:00
Arc
2834ce0b4f
Merge pull request #781 from lnbits/revert-758-lnurl/check_description_hash
Revert "LNURLp: check description hash"
2022-07-25 15:33:11 +01:00
Arc
b708950b93
Revert "LNURLp: check description hash" 2022-07-25 15:32:59 +01:00
ben
c7e5d66801 Merge branch 'main' into matthewcroughan/nixify 2022-07-25 15:20:17 +01:00
Arc
1da7c9b349
Merge pull request #758 from lnbits/lnurl/check_description_hash
LNURLp: check description hash
2022-07-25 15:19:20 +01:00
ben
3ffcab2d4d Merge branch 'main' into matthewcroughan/nixify 2022-07-25 15:01:33 +01:00
dni ⚡
462fffbeaa
.gitignore coverage.xml + do not delete mock_data.zip (#779)
* add coverage.xml to gitignore

* fix deleting mock_data.zip

Co-authored-by: dni <dni.khr@gmail.com>
2022-07-25 15:08:30 +02:00
dni
8d89518271 Merge branch 'main' into fix/mypy 2022-07-25 15:06:09 +02:00
calle
210edde08a
Migration: Fix withdraw (#780) 2022-07-25 15:04:55 +02:00
dni
e67b2c0529 Merge branch 'main' into fix/mypy 2022-07-25 13:46:22 +02:00
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
Tiago Vasconcelos
27b4db9877
fix older tpos without tips (#778) 2022-07-25 12:52:28 +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