-
Notifications
You must be signed in to change notification settings - Fork 91
style: Move formatting to Ruff #2627
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
base: main
Are you sure you want to change the base?
style: Move formatting to Ruff #2627
Conversation
Sonnet 4's summary: > The mypy error occurred because the transpose() method on line 659 was > returning a value that mypy inferred as Any, while the function signature > declared it should return ArrayLike. Mypy's no-any-return rule flags when > you return an Any value from a function with a specific return type annotation.
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2627 +/- ##
==========================================
- Coverage 98.23% 98.13% -0.11%
==========================================
Files 65 65
Lines 4198 4179 -19
Branches 592 455 -137
==========================================
- Hits 4124 4101 -23
- Misses 45 47 +2
- Partials 29 31 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
B007 Loop control variable not used within loop body https://docs.astral.sh/ruff/rules/unused-loop-control-variable/
B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()` c.f. https://docs.astral.sh/ruff/rules/assert-false/
B017 Do not assert blind exception: `Exception` https://docs.astral.sh/ruff/rules/assert-raises-exception/
Description
(Temporarily building on top of PR #2625)
Move from Black to Ruff.
As this will be a huge commit this should get ignored afterwards in a
.git-blame-ignore-revsfile.Addresses parts of Issue #2624
Checklist Before Requesting Reviewer
Before Merging
For the PR Assignees: