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

Reformat files with Ruff #8

Merged
merged 5 commits into from
Jul 2, 2024
Merged

Reformat files with Ruff #8

merged 5 commits into from
Jul 2, 2024

Conversation

wfondrie
Copy link
Member

This PR should follow #7. It simply runs ruff format on all the files.

I'll rebase it to main after #7 is merged.

@wfondrie wfondrie requested a review from jspaezp June 26, 2024 21:14
Copy link

codecov bot commented Jun 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.20%. Comparing base (40dfebd) to head (0060fe2).

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.
📢 Have feedback on the report? Share it here.

@wfondrie wfondrie merged commit b756692 into main Jul 2, 2024
9 checks passed
@wfondrie wfondrie deleted the ruff-format branch July 2, 2024 23:04
- id: ruff
args: ['--fix']
types_or: [ python, pyi, jupyter ]
args: [ --fix, --show-fixes ]
Copy link

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.
Copy link

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.

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.

2 participants