Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add comment why CLightningWallet alias is needed #2065

Merged
merged 1 commit into from Nov 6, 2023
Merged

add comment why CLightningWallet alias is needed #2065

merged 1 commit into from Nov 6, 2023

Conversation

prusnak
Copy link
Collaborator

@prusnak prusnak commented Oct 26, 2023

There is an extra empty line because black wants it that way and ruff does not complain.

@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

Merging #2065 (7f6f1bc) into dev (14e678f) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev    #2065      +/-   ##
==========================================
- Coverage   60.63%   60.61%   -0.03%     
==========================================
  Files          55       55              
  Lines        8325     8325              
==========================================
- Hits         5048     5046       -2     
- Misses       3277     3279       +2     
Files Coverage Δ
lnbits/wallets/__init__.py 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@callebtc
Copy link
Collaborator

callebtc commented Oct 29, 2023

NACK

This is intentional to keep backwards compatibility for old configs that called it CLightningWallet.

@prusnak prusnak changed the title remove unnecessary import alias CLightningWallet add comment why CLightningWallet alias is needed Oct 29, 2023
@prusnak
Copy link
Collaborator Author

prusnak commented Oct 29, 2023

Reworked to add comment why this alias is needed.

There is an extra empty line because black wants it that way and ruff does not complain.

@prusnak prusnak requested a review from callebtc October 29, 2023 18:55
@dni dni merged commit 5473d9e into dev Nov 6, 2023
23 checks passed
@dni dni deleted the remove-import branch November 6, 2023 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants