Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dni
Copy link
Member

@dni dni commented Apr 1, 2024

bunch of more consistent variable naming. inspired by this issue. #2308
WARNING this breaks some imports in extensions, UPDATE them to fix!

jmeter tests temporarly disabled #2410

@dni dni requested review from motorina0 and prusnak April 1, 2024 16:23
@dni dni force-pushed the ruff-n branch 4 times, most recently from 4734533 to 47bdc13 Compare April 1, 2024 16:32
@dni dni added the code health Make the code more beautiful label Apr 1, 2024
@dni dni added this to the 0.12.5 milestone Apr 1, 2024
@codecov
Copy link

codecov bot commented Apr 1, 2024

Codecov Report

Attention: Patch coverage is 63.55140% with 39 lines in your changes are missing coverage. Please review.

Project coverage is 59.97%. Comparing base (055426a) to head (7e0bf43).

Files Patch % Lines
lnbits/core/services.py 53.57% 13 Missing ⚠️
lnbits/core/views/auth_api.py 0.00% 7 Missing ⚠️
lnbits/core/views/generic.py 14.28% 6 Missing ⚠️
lnbits/app.py 75.00% 3 Missing ⚠️
lnbits/core/tasks.py 60.00% 2 Missing ⚠️
lnbits/core/views/websocket_api.py 50.00% 2 Missing ⚠️
lnbits/wallets/corelightning.py 0.00% 2 Missing ⚠️
lnbits/core/views/payment_api.py 87.50% 1 Missing ⚠️
lnbits/wallets/corelightningrest.py 0.00% 1 Missing ⚠️
lnbits/wallets/opennode.py 0.00% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2377      +/-   ##
==========================================
+ Coverage   59.96%   59.97%   +0.01%     
==========================================
  Files          65       65              
  Lines        9434     9434              
==========================================
+ Hits         5657     5658       +1     
+ Misses       3777     3776       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

dni added a commit to lnbits/bleskomat that referenced this pull request Apr 2, 2024
dni added a commit to lnbits/tpos that referenced this pull request Apr 2, 2024
dni added a commit to lnbits/copilot that referenced this pull request Apr 2, 2024
dni added a commit to lnbits/lnurldevice that referenced this pull request Apr 2, 2024
dni added a commit to lnbits/nostrrelay that referenced this pull request Apr 2, 2024
dni added a commit to lnbits/nostrmarket that referenced this pull request Apr 2, 2024
@dni
Copy link
Member Author

dni commented Apr 2, 2024

6 extensions were incompatible, pr's are open with min_version 0.12.5

@motorina0
Copy link
Collaborator

6 extensions were incompatible, pr's are open with min_version 0.12.5

That is why the JMeter tests fail?
Can you please add links to PRs here.

@motorina0
Copy link
Collaborator

motorina0 commented Apr 5, 2024

JMeter test fail reasons:

Could not load extension `tpos`: cannot import name 'websocketUpdater' from 'lnbits.core.services' ("lnbits/lnbits/core/services.py)
Could not load extension `copilot`: cannot import name 'websocketUpdater' from 'lnbits.core.services' ("lnbits/lnbits/core/services.py)
Could not load extension `nostrrelay`: cannot import name 'websocketUpdater' from 'lnbits.core.services' ("lnbits/lnbits/core/services.py)
Could not load extension `lnurldevice`: cannot import name 'websocketUpdater' from 'lnbits.core.services' ("lnbits/lnbits/core/services.py)
Could not load extension `nostrmarket`: cannot import name 'websocketUpdater' from 'lnbits.core.services' ("lnbits/lnbits/core/services.py)
Could not load extension `bleskomat`: cannot import name 'PaymentFailure' from 'lnbits.core.services' ("lnbits/lnbits/core/services.py)

@dni dni modified the milestones: 0.12.5, 0.12.6 Apr 11, 2024
dni added a commit to lnbits/copilot that referenced this pull request Apr 12, 2024
* chore: rename `websocketUpdater`
lnbits/lnbits#2377
dni added a commit to lnbits/tpos that referenced this pull request Apr 12, 2024
* chore: rename `websocketUpdater`
lnbits/lnbits#2377
dni added a commit to lnbits/lnurldevice that referenced this pull request Apr 12, 2024
* chore: rename `websocketUpdater`
lnbits/lnbits#2377
dni added a commit to lnbits/nostrrelay that referenced this pull request Apr 12, 2024
* chore: rename `websocketUpdater`
lnbits/lnbits#2377
dni added a commit to lnbits/nostrmarket that referenced this pull request Apr 12, 2024
* chore: rename `websocketUpdater`
lnbits/lnbits#2377
dni added a commit that referenced this pull request Apr 12, 2024
dni added a commit that referenced this pull request Apr 12, 2024
@dni
Copy link
Member Author

dni commented Apr 12, 2024

#2409

after this pr os merge you need to update extensions listed in the above issue

@dni dni requested a review from talvasconcelos April 12, 2024 15:41
dni and others added 2 commits April 12, 2024 17:48
bunch of more consistent variable naming. inspired by this issue.
#2308
@dni dni requested a review from prusnak April 15, 2024 05:30
@motorina0 motorina0 requested a review from arcbtc April 15, 2024 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code health Make the code more beautiful

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants