Skip to content

Use ruff format for code formatting instead of black#1332

Merged
greenbonebot merged 1 commit intomainfrom
use-ruff-for-formatting
Apr 10, 2026
Merged

Use ruff format for code formatting instead of black#1332
greenbonebot merged 1 commit intomainfrom
use-ruff-for-formatting

Conversation

@bjoernricks
Copy link
Copy Markdown
Contributor

What

Use ruff format for code formatting instead of black

Why

Replace black with ruff format. This improves the code formatting performance and also reduces the list of dependencies.

@bjoernricks bjoernricks requested review from a team as code owners April 10, 2026 09:51
@greenbonebot greenbonebot enabled auto-merge (rebase) April 10, 2026 09:51
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 10, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 856a821.
Ensure 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

  • uv.lock

@github-actions
Copy link
Copy Markdown

Conventional Commits Report

😢 No conventional commits found.

👉 Learn more about the conventional commits usage at Greenbone.

@bjoernricks bjoernricks force-pushed the use-ruff-for-formatting branch from 02a72ef to ef8d0d8 Compare April 10, 2026 09:54
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2026

Codecov Report

❌ Patch coverage is 62.50000% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.31%. Comparing base (f30a2fd) to head (856a821).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
scripts/create-consolidated-report.gmp.py 20.00% 4 Missing ⚠️
gvmtools/cli.py 0.00% 2 Missing ⚠️
gvmtools/pyshell.py 0.00% 2 Missing ⚠️
gvmtools/script.py 0.00% 1 Missing ⚠️
scripts/ssv_csv.py 0.00% 1 Missing ⚠️
scripts/start-scans-from-csv.py 0.00% 1 Missing ⚠️
scripts/stop-scans-from-csv.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1332   +/-   ##
=======================================
  Coverage   49.31%   49.31%           
=======================================
  Files          18       18           
  Lines        1239     1239           
=======================================
  Hits          611      611           
  Misses        628      628           

☔ View full report in Codecov by Sentry.
📢 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.

Replace black with ruff format. This improves the code formatting
performance and also reduces the list of dependencies.
@bjoernricks bjoernricks force-pushed the use-ruff-for-formatting branch from ef8d0d8 to 856a821 Compare April 10, 2026 09:57
@greenbonebot greenbonebot merged commit 9602f62 into main Apr 10, 2026
28 checks passed
@greenbonebot greenbonebot deleted the use-ruff-for-formatting branch April 10, 2026 11:58
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