chore: enable ruff PT006/PT007 parametrize tuple rules#1749
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1749 +/- ##
=======================================
Coverage 99.76% 99.76%
=======================================
Files 33 33
Lines 3473 3473
Branches 482 482
=======================================
Hits 3465 3465
Misses 5 5
Partials 3 3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
bdraco
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enable ruff PT006/PT007 in tests by removing the per-file-ignores and fixing the 5 remaining violations across
tests/utils/test_name.pyandtests/utils/test_net.py.Fixes #1748
Changes
PT006andPT007from[tool.ruff.lint.per-file-ignores]fortests/**/*.pytest.mark.parametrizecalls.Test plan
poetry run ruff check --no-cache— passes.poetry run pytest tests/utils/test_name.py tests/utils/test_net.py -v— 33 passed, 1 skipped.Generated by Kōan /fix
Quality Report
Changes: 3 files changed, 7 insertions(+), 9 deletions(-)
Code scan: clean
Tests: passed (4 PASSED)
Branch hygiene: clean
Generated by Kōan post-mission quality pipeline