Skip to content

Update Ruff configuration - #155

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 77.77778% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.56%. Comparing base (44ca328) to head (6a16eb2).

Files with missing lines Patch % Lines
ssdp/__main__.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
- Coverage   92.30%   91.56%   -0.75%     
==========================================
  Files           7        7              
  Lines         169      166       -3     
==========================================
- Hits          156      152       -4     
- Misses         13       14       +1     

☔ 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 90d4b96 to efbc1f9 Compare October 11, 2026 19:54
pre-commit-ci Bot and others added 2 commits October 11, 2026 19:56
- Scope the new rules to tests with per-file-ignores
- Modernise the code the new rules flag, without changing behaviour
@codingjoe
codingjoe merged commit 05860e8 into main Oct 12, 2026
6 of 8 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