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

Lint and format with Ruff #149

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Lint and format with Ruff #149

wants to merge 3 commits into from

Conversation

pgiraud
Copy link
Member

@pgiraud pgiraud commented Nov 27, 2024

No description provided.

This replaces Flake8, Black and isort.

For Flake8, in previous configuration:
 - "B" errors were supposed to be caught but flake8-bugbear was not installed
   so it couldn't work,
 - "B9" seemed to be unrequired because already taken into account with "B",
 - "T4" corresponds to flake8-mypy but it was not installed.
Some fixes could be done with the `--fix-unsafe` and some other manually.
@pgiraud pgiraud changed the title Lint with ruff Lint and format with Ruff Nov 27, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.61%. Comparing base (5c45afe) to head (7f16016).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #149   +/-   ##
=======================================
  Coverage   97.61%   97.61%           
=======================================
  Files          10       10           
  Lines        1214     1214           
=======================================
  Hits         1185     1185           
  Misses         29       29           

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

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