-
-
Notifications
You must be signed in to change notification settings - Fork 371
chore: adhere to ruff's C
#2379
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #2379 +/- ##
=======================================
Coverage 58.50% 58.50%
=======================================
Files 65 65
Lines 9379 9382 +3
=======================================
+ Hits 5487 5489 +2
- Misses 3892 3893 +1 ☔ View full report in Codecov by Sentry. |
| point: Optional[ChannelPoint] = None, | ||
| force: bool = False, | ||
| ): | ||
| if short_id: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did ruff suggested this? how can it know?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ups, that was a pyright, it was an unused local variable
|
@dni can you have a look at this CI failure? Is it related to the PR? https://github.com/lnbits/lnbits/actions/runs/8525288852/job/23351920497?pr=2379 |
wow, yes, that test saved us :). 61c62f5 |
note: max-complexity should be decreased to 10 in another PR.