Skip to content

Update Ruff configuration - #213

Merged
codingjoe merged 3 commits into
mainfrom
update-ruff-config
Oct 12, 2026
Merged

codingjoe merged 3 commits into
mainfrom
update-ruff-config

Conversation

@codingjoe

Copy link
Copy Markdown
Owner

Ruff linting does not use the shared rule set of the other projects.

  • Switch from select to extend-select with the shared rule set
  • Align the ignore list with the other projects

@codecov

codecov Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.18%. Comparing base (cb2ba4a) to head (2c92745).

Files with missing lines Patch % Lines
joeflow/utils.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #213      +/-   ##
==========================================
- Coverage   98.26%   98.18%   -0.09%     
==========================================
  Files          17       17              
  Lines         807      825      +18     
==========================================
+ Hits          793      810      +17     
- Misses         14       15       +1     
Flag Coverage Δ
python-3.14-django-6.0 80.84% <83.33%> (-0.20%) ⬇️
python-3.14-django-6.1 98.18% <96.66%> (-0.09%) ⬇️

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

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

- Use the shared extend-select rule set, including D213 and S
- Align the ignore list with the other projects
@codingjoe
codingjoe force-pushed the update-ruff-config branch 3 times, most recently from 021abd5 to 941733a Compare October 11, 2026 19:55
pre-commit-ci Bot and others added 2 commits October 11, 2026 19:57
- Scope the new rules to tests with per-file-ignores
- Modernise the code the new rules flag, without changing behaviour
@codingjoe
codingjoe merged commit 172e912 into main Oct 12, 2026
8 of 10 checks passed
@codingjoe
codingjoe deleted the update-ruff-config branch October 12, 2026 08:07
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.

1 participant