Skip to content

ci: Add more flags to ruff checker#561

Merged
ValerianRey merged 11 commits intomainfrom
add-lint-options
Feb 13, 2026
Merged

ci: Add more flags to ruff checker#561
ValerianRey merged 11 commits intomainfrom
add-lint-options

Conversation

@PierreQuinton
Copy link
Copy Markdown
Contributor

@PierreQuinton PierreQuinton commented Feb 11, 2026

  • Add C4, TID, SIM, PERF, FURB, RUF, PYI, PIE, COM.
  • Add RUF010, RUF012, RUF022 and RET504 to exceptions.
  • Apply changes induced by these new checks.

@PierreQuinton PierreQuinton added the cc: ci Conventional commit type for changes to the CI (Github workflows and actions). label Feb 11, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/torchjd/_linalg/_gramian.py 100.00% <100.00%> (ø)
src/torchjd/aggregation/_aggregator_bases.py 100.00% <ø> (ø)
src/torchjd/aggregation/_aligned_mtl.py 100.00% <ø> (ø)
src/torchjd/aggregation/_constant.py 100.00% <ø> (ø)
src/torchjd/aggregation/_dualproj.py 100.00% <ø> (ø)
src/torchjd/aggregation/_graddrop.py 100.00% <ø> (ø)
src/torchjd/aggregation/_imtl_g.py 100.00% <100.00%> (ø)
src/torchjd/aggregation/_krum.py 100.00% <ø> (ø)
src/torchjd/aggregation/_nash_mtl.py 100.00% <100.00%> (ø)
src/torchjd/aggregation/_trimmed_mean.py 100.00% <ø> (ø)
... and 20 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ValerianRey ValerianRey merged commit 84c5a09 into main Feb 13, 2026
16 checks passed
@ValerianRey ValerianRey deleted the add-lint-options branch February 13, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cc: ci Conventional commit type for changes to the CI (Github workflows and actions).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants