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

Basic ruff #956

Merged
merged 3 commits into from
Jul 2, 2024
Merged

Basic ruff #956

merged 3 commits into from
Jul 2, 2024

Conversation

steven-murray
Copy link
Contributor

This PR swaps out out flake8 checks for the same checks with ruff (to the extent possible). This is faster, and also allows them to be auto-fixed at pre-commit time. I am not currently running ruff format, which would result in black-like formatting (we could decide to add that at a later time if we want), only doing the flake8 checks/fixes. I ran the checks on the entire code-base and made all necessary fixes.

I also deleted the calibrations/ sub-folder as it wasn't being imported or used anywhere in the code. It's possible that it's being used from outside the code in some pipeline, in which case I'll put it back in.

Copy link

codecov bot commented Jul 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.26%. Comparing base (9e14dde) to head (2fc1633).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #956   +/-   ##
=======================================
  Coverage   97.26%   97.26%           
=======================================
  Files          30       30           
  Lines       10795    10795           
=======================================
  Hits        10500    10500           
  Misses        295      295           
Flag Coverage Δ
unittests 97.26% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Member

@jsdillon jsdillon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks @steven-murray !

@jsdillon jsdillon merged commit f32a515 into main Jul 2, 2024
9 of 11 checks passed
@jsdillon jsdillon deleted the basic-ruff branch July 2, 2024 15:42
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