Instagram / Instagram/Fixit

A way to show silenced errors

Open
#398 0 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
714
Forks
72
PR merge metrics
No merged PRs in 30d

Description

It would be very helpful to be able to suppress the `# lint-fixme` comments to show those errors. In particular, this would help where an auto-fix has been added for a rule and we now want to apply that auto-fix to the violations marked with a `fixme` comment.

At the moment we have to remove all of the `fixme` comments in order to apply the new auto-fix.

`flake` has a `--disable-noqa` option, which does something similar.

Considerations:

- should this suppress `lint-ignore`, too?
- should this just be for fixes?
- should this option cause the comment to be automatically removed once/if the fix is applied?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.