Skip to content

Lint and format with Ruff#149

Open
pgiraud wants to merge 3 commits into
masterfrom
lint_with_ruff
Open

Lint and format with Ruff#149
pgiraud wants to merge 3 commits into
masterfrom
lint_with_ruff

Conversation

@pgiraud

@pgiraud pgiraud commented Nov 27, 2024

Copy link
Copy Markdown
Member

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

codecov-commenter commented Nov 27, 2024

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.61%. Comparing base (5c45afe) to head (7f16016).
⚠️ Report is 7 commits behind head on master.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dlax

dlax commented Nov 29, 2024

Copy link
Copy Markdown
Contributor

Let's rather hold this on until we finish other planned or in-progress refactorings.

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.

3 participants