-
Notifications
You must be signed in to change notification settings - Fork 0
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
Reformat files with Ruff #8
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8 +/- ##
=======================================
Coverage 43.20% 43.20%
=======================================
Files 8 8
Lines 250 250
=======================================
Hits 108 108
Misses 142 142 ☔ View full report in Codecov by Sentry. |
- id: ruff | ||
args: ['--fix'] | ||
types_or: [ python, pyi, jupyter ] | ||
args: [ --fix, --show-fixes ] |
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.
nice I didn't know --show-fixes
was a thing
@@ -8,7 +8,8 @@ | |||
def read(mzml_file: str) -> dict[tuple[np.ndarray, np.ndarray]]: | |||
"""Parse the mzML file | |||
|
|||
This parser is much faster than Pyteomics, but doesn't do any error checking. | |||
This parser is much faster than Pyteomics, but doesn't do any error | |||
checking. |
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.
Request: Can you also add a mention that it handles less types of mzml's ... it assumes gzip compressed arrays every time and assumes its all 64 bit.
This PR should follow #7. It simply runs
ruff format
on all the files.I'll rebase it to main after #7 is merged.