Use ruff instead of black for code formatting#1317
Merged
greenbonebot merged 1 commit intomainfrom Apr 10, 2026
Merged
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned Files
|
Conventional Commits Report😢 No conventional commits found. 👉 Learn more about the conventional commits usage at Greenbone. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1317 +/- ##
==========================================
- Coverage 98.25% 98.23% -0.02%
==========================================
Files 90 90
Lines 6290 6245 -45
Branches 1128 1128
==========================================
- Hits 6180 6135 -45
Misses 77 77
Partials 33 33 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b4ef4d6 to
4a5accf
Compare
Member
Scanning the following files for hidden unicode: |
4a5accf to
b3b5599
Compare
Replace black with ruff format which is a lot faster. Also it reduces the list of required dependencies for the project. Also Update the Python code for Python >= 3.10 syntax and format all code with ruff.
b3b5599 to
2a1d127
Compare
ozgen
approved these changes
Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Use ruff instead of black for code formatting
Why
Replace black with ruff format which is a lot faster. Also it reduces the list of required dependencies for the project.
Also Update the Python code for Python >= 3.10 syntax and format all code with ruff.