Repository navigation
ruff server: Support noqa comment code action - #11276
Conversation
|
cfb4f18 to
cc45f8c
Compare
|
Is this PR up-to date with the base PR ( Considering the above code snippet, in the following screen recording (left is new server, right is Screen.Recording.2024-05-07.at.14.14.29.mov |
|
@dhruvmanila Thanks for pointing this out, I'll investigate. |
b7cd925 to
06ddf50
Compare
cc45f8c to
eebad65
Compare
|
@AlexWaygood @dhruvmanila You can ignore the review request, that seemed to happen automatically when I rebased the branch. |
06ddf50 to
d48d094
Compare
|
@dhruvmanila I've confirmed that b321a3f fixes the issue with multiline diagnostics 👍 |
b321a3f to
d3e4234
Compare
|
@T-256 Thanks for this suggestion - can you open an issue for this? |
Summary
Fixes #10594.
Code actions to disable a diagnostic via
noqacomment are now available.noqa.mp4
DiagnosticFixhas been changed so thatnoqacode actions appear even for diagnostics with no available quick fix. It can contain quick fix edits,noqacomment edits, or both.Test Plan
The scenarios that need to be tested are as follows:
noqacomment.noqacomment manually should make a diagnostic disappearFix all auto-fixable problemsshould not addnoqacommentsnoqacomment should make the diagnostic re-appear