Pavol Rusnak
|
967ce06ca5
|
fix pylint C0206 (consider-using-dict-items)
|
2023-01-30 11:46:45 +00:00 |
|
Pavol Rusnak
|
3e42adc66f
|
fix flake8 F601 (dictionary key repeated with different values)
|
2023-01-30 11:46:45 +00:00 |
|
Pavol Rusnak
|
e05340269b
|
fix flake8 F841 (local variable is assigned to but never used)
|
2023-01-30 11:46:45 +00:00 |
|
Pavol Rusnak
|
8a72585f00
|
fix flake8 W293 (blank line contains whitespace)
|
2023-01-30 11:46:44 +00:00 |
|
Pavol Rusnak
|
a02f147482
|
fix flake8 E302 (expected 2 blank lines)
|
2023-01-30 11:46:44 +00:00 |
|
Pavol Rusnak
|
421214bc36
|
fix flake8 W291 (trailing whitespace)
|
2023-01-30 11:46:44 +00:00 |
|
Pavol Rusnak
|
bc36e6bc4c
|
fix flake8 F541 (f-string is missing placeholders)
|
2023-01-30 11:46:44 +00:00 |
|
Pavol Rusnak
|
86e8a3a315
|
fix flake8 E711 (comparison-to-none)
|
2023-01-30 11:46:44 +00:00 |
|
Pavol Rusnak
|
eba7319808
|
fix flake8 E713 (test-for-membership)
|
2023-01-30 11:46:44 +00:00 |
|
Pavol Rusnak
|
f6bd8684d3
|
fix flake8 E712 (comparison-to-bool)
|
2023-01-30 11:46:44 +00:00 |
|
Pavol Rusnak
|
9ef4bd8fb9
|
add pylint workflow after all enabled issues were fixed
|
2023-01-30 11:46:44 +00:00 |
|
Pavol Rusnak
|
50c613cdd4
|
silence pylint W0231 (super-init-not-called)
|
2023-01-30 11:46:44 +00:00 |
|
Pavol Rusnak
|
a0cc55c5a1
|
fix pylint C0209 (consider-using-f-string)
|
2023-01-30 11:46:43 +00:00 |
|
Pavol Rusnak
|
9fa3e5c6cf
|
fix pylint W0102 (dangerous-default-value)
|
2023-01-30 11:46:43 +00:00 |
|
Pavol Rusnak
|
906d91bcf1
|
fix pylint R1714 (consider-using-in)
|
2023-01-30 11:46:43 +00:00 |
|
Pavol Rusnak
|
35396d7e63
|
fix pylint R0205 (useless-object-inheritance)
|
2023-01-30 11:46:43 +00:00 |
|
Pavol Rusnak
|
d29fcca6aa
|
fix pylint W0612 (unused-variable)
|
2023-01-30 11:46:43 +00:00 |
|
Pavol Rusnak
|
32f4c8aa17
|
fix shadowing in build.py
|
2023-01-30 11:46:43 +00:00 |
|
Pavol Rusnak
|
15d7fbeace
|
run autoflake
```
autoflake -i --remove-unused-variables $(find . -name "*.py")
```
|
2023-01-30 11:46:43 +00:00 |
|
Pavol Rusnak
|
c8efe41e1a
|
add flake8 and pylint as dev dependencies
|
2023-01-30 11:46:43 +00:00 |
|
 Pavol RusnakandGitHub
|
a089188664
|
add pyright to the project (#1367)
* add pyright to project + bump prettier to latest
* reformat to match the latest prettier rules
|
2023-01-23 10:29:17 +01:00 |
|
 Pavol RusnakandGitHub
|
20e6ca019e
|
replace lnbits-legend with lnbits in github links (#1366)
|
2023-01-14 12:26:17 +01:00 |
|
Pavol Rusnak
|
aa067df380
|
remove extraneous not payment.extra check
followup to fca7e7bec3
|
2023-01-08 12:19:58 +00:00 |
|
Pavol Rusnak
|
e4c01285b2
|
followup to fca7e7bec3
one extraneous check was forgotten
|
2023-01-05 13:27:11 +01:00 |
|
Pavol Rusnak
|
191ad1e224
|
make payment.extra non-optional
this makes handling in tasks.py so much easier
|
2023-01-05 09:22:34 +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 |
|
Pavol Rusnak
|
3d0c66f0f6
|
remove unnecessary argument encoding from bytes.decode() and str.encode()
the encoding parameter defaults to utf-8, so it's not needed
|
2023-01-03 22:38:28 +01:00 |
|
Pavol Rusnak
|
2e57210623
|
extensions/satspay: remove duplicit functions
probably merge error
|
2023-01-02 18:37:54 +01:00 |
|
Pavol Rusnak
|
aa97e3cb54
|
add -o to find opts meaning or (default is and)
which returns no results
|
2022-12-30 16:07:32 +01:00 |
|
Pavol Rusnak
|
f7a977ecc8
|
let's use unique function names
so mypy is not confused
|
2022-12-30 13:16:11 +01:00 |
|
Pavol Rusnak
|
2f377343f1
|
extensions/gerty: remove duplicit functions
probably merge error
|
2022-12-30 00:11:23 +01:00 |
|
Pavol Rusnak
|
a377381942
|
use bytes.fromhex/hex builtins instead of binascii.hexlify/unhexlify
|
2022-12-29 16:46:35 +01:00 |
|
Pavol Rusnak
|
aa267f52a2
|
enable nix flake on {aarch64,x86_64}-darwin
|
2022-12-28 15:09:30 +01:00 |
|
Pavol Rusnak
|
86b0cec215
|
remove result link
this shouldn't have been commited since it it listed in gitignore)
|
2022-12-28 12:48:31 +01:00 |
|