Skip to content

uniformize linter/formatter (ruff) + add pre-commit#270

Draft
mbrousset-ledger wants to merge 3 commits intomasterfrom
mbr/ruff
Draft

uniformize linter/formatter (ruff) + add pre-commit#270
mbrousset-ledger wants to merge 3 commits intomasterfrom
mbr/ruff

Conversation

@mbrousset-ledger
Copy link
Copy Markdown
Contributor

@mbrousset-ledger mbrousset-ledger commented Apr 1, 2026

  • add .pre-commit-config.yaml
  • move workflows and codebase to ruff check and ruff format
  • fixed linting and formatting issues
  • add .git-blame-ignore-revs that references the formatting commit (d7e18cc)

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 1, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
3.6% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@mbrousset-ledger mbrousset-ledger changed the title uniformize linter/formatter (ruff) uniformize linter/formatter (ruff) + add pre-commit Apr 1, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 1, 2026

Codecov Report

❌ Patch coverage is 82.32323% with 35 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.32%. Comparing base (04943af) to head (74b54cd).

Files with missing lines Patch % Lines
src/ragger/gui/interface.py 4.34% 22 Missing ⚠️
src/ragger/navigator/navigation_scenario.py 79.31% 6 Missing ⚠️
src/ragger/conftest/base_conftest.py 87.17% 5 Missing ⚠️
src/ragger/backend/ledgercomm.py 83.33% 1 Missing ⚠️
src/ragger/navigator/navigator.py 96.96% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #270   +/-   ##
=======================================
  Coverage   78.32%   78.32%           
=======================================
  Files          36       36           
  Lines        2191     2191           
=======================================
  Hits         1716     1716           
  Misses        475      475           
Flag Coverage Δ
apex_p-py3.10 78.22% <82.32%> (ø)
apex_p-py3.11 78.22% <82.32%> (ø)
apex_p-py3.12 78.22% <82.32%> (ø)
apex_p-py3.13 78.22% <82.32%> (ø)
apex_p-py3.9 78.20% <82.32%> (ø)
flex-py3.10 78.22% <82.32%> (ø)
flex-py3.11 78.22% <82.32%> (ø)
flex-py3.12 78.22% <82.32%> (ø)
flex-py3.13 78.22% <82.32%> (ø)
flex-py3.9 78.20% <82.32%> (ø)
nanos-py3.10 76.58% <80.30%> (ø)
nanos-py3.11 76.58% <80.30%> (ø)
nanos-py3.12 76.58% <80.30%> (ø)
nanos-py3.13 76.58% <80.30%> (ø)
nanos-py3.9 76.69% <80.30%> (ø)
nanosp-py3.10 76.63% <80.30%> (ø)
nanosp-py3.11 76.63% <80.30%> (ø)
nanosp-py3.12 76.63% <80.30%> (ø)
nanosp-py3.13 76.63% <80.30%> (ø)
nanosp-py3.9 76.73% <80.30%> (ø)
nanox-py3.10 76.58% <80.30%> (ø)
nanox-py3.11 76.58% <80.30%> (ø)
nanox-py3.12 76.58% <80.30%> (ø)
nanox-py3.13 76.58% <80.30%> (ø)
nanox-py3.9 76.69% <80.30%> (ø)
stax-py3.10 78.22% <82.32%> (ø)
stax-py3.11 78.22% <82.32%> (ø)
stax-py3.12 78.22% <82.32%> (ø)
stax-py3.13 78.22% <82.32%> (ø)
stax-py3.9 78.20% <82.32%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

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