Fix pylint disable-next comments at the start of imports - #2628
Fix pylint disable-next comments at the start of imports#2628Neallin-917 wants to merge 2 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2628 +/- ##
=======================================
Coverage 99.36% 99.36%
=======================================
Files 41 41
Lines 3165 3166 +1
Branches 682 682
=======================================
+ Hits 3145 3146 +1
Misses 12 12
Partials 8 8 🚀 New features to boost your workflow:
|
DanielNoord
left a comment
There was a problem hiding this comment.
Please rebase this as well to get the new CI setup!
|
|
||
| def test_pylint_disable_next_stays_with_first_import_issue_2054(): | ||
| test_input = ( | ||
| "# pylint: disable-next=no-name-in-module\n" |
There was a problem hiding this comment.
Please change the content of the comments to show that they are properly attached to the imports by differentiating them
3b0226e to
47460eb
Compare
|
Rebased onto current main in 47460eb to pick up the new CI setup. The targeted regression suite, Ruff checks, and the updated PR checks are green. Thanks! |
|
Addressed in 3bf67d5. The two |
Summary
pylint: disable-nextdirective with the import it governsCloses #2054
Testing
uv run pytest tests/unit/test_regressions.pyuv run tox -e py3.13