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

chore: replace black with ruff format #507

Merged
merged 2 commits into from Oct 31, 2023

Conversation

mkniewallner
Copy link
Collaborator

PR Checklist

  • A description of the changes is added to the description of this PR.
  • If there is a related issue, make sure it is linked to this PR.
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

Description of changes

Replace Black with Ruff format. Black preview style is not fully supported yet (astral-sh/ruff#6935), but given the small size of our codebase, this should not be too much of a problem, and full support for it is likely to be fully implemented rather quickly.

rev: "23.9.1"
hooks:
- id: black
args: [--exit-non-zero-on-fix]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@codecov
Copy link

codecov bot commented Oct 28, 2023

Codecov Report

Merging #507 (4ed9335) into main (da45400) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #507   +/-   ##
=====================================
  Coverage   90.4%   90.4%           
=====================================
  Files         39      39           
  Lines       1084    1084           
  Branches     220     220           
=====================================
  Hits         980     980           
  Misses        89      89           
  Partials      15      15           

@mkniewallner mkniewallner merged commit e75f475 into fpgmaas:main Oct 31, 2023
20 checks passed
@mkniewallner mkniewallner deleted the chore/black-to-ruff-format branch March 6, 2024 20:34
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.

None yet

2 participants