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

feat: use ruff-format replace black #2356

Merged
merged 3 commits into from
Nov 2, 2023

Conversation

vvanglro
Copy link
Contributor

@vvanglro vvanglro commented Nov 1, 2023

Pull Request Checklist

  • A news fragment is added in news/ describing what is new.
  • Test cases added for changed code.

Describe what you have changed in this PR.

Ruff released its formatter, it is very close to the Black code style but is 30x faster.
https://astral.sh/blog/the-ruff-formatter

Copy link

codecov bot commented Nov 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
src/pdm/compat.py 90.38% <ø> (ø)
src/pdm/formats/poetry.py 86.09% <ø> (ø)
src/pdm/models/candidates.py 85.75% <ø> (ø)
src/pdm/models/repositories.py 74.02% <ø> (ø)

📢 Thoughts on this report? Let us know!.

install-pdm.py Outdated Show resolved Hide resolved
@vvanglro
Copy link
Contributor Author

vvanglro commented Nov 1, 2023

Is this error because the package didn't download properly?

@frostming frostming merged commit cad450f into pdm-project:main Nov 2, 2023
23 checks passed
@vvanglro vvanglro deleted the feat/ruff_format branch November 2, 2023 03:59
@j178 j178 mentioned this pull request Apr 3, 2024
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