Is your feature request related to a problem? Please describe. A clear and concise
description of what the problem is. Ex. I'm always frustrated when [...]
Currently, it's not possible to ignore a specific issue code on a line.
Describe the solution you'd like A clear and concise description of what you want to
happen.
Add comment # prospector: ignore=<source>.<code>
This is in pylint like syntax, we can also use ruff syntax => # prospector: noqa: <source>.<code>
Describe alternatives you've considered A clear and concise description of any
alternative solutions or features you've considered.
Improve the # noqa with the possibility to add more codes in the comments as Ruff do:
https://docs.astral.sh/ruff/linter/#error-suppression
Additional context Add any other context or screenshots about the feature request
here.
Advantage of # prospector:
- Be able to add error on
useless-supression
- No bad interaction with other tools
Advantage of # noqa
- Use more standard comment
As I understand in booth way, the code become specific to prospector
Is your feature request related to a problem? Please describe. A clear and concise
description of what the problem is. Ex. I'm always frustrated when [...]
Currently, it's not possible to ignore a specific issue code on a line.
Describe the solution you'd like A clear and concise description of what you want to
happen.
Add comment
# prospector: ignore=<source>.<code>This is in pylint like syntax, we can also use ruff syntax =>
# prospector: noqa: <source>.<code>Describe alternatives you've considered A clear and concise description of any
alternative solutions or features you've considered.
Improve the
# noqawith the possibility to add more codes in the comments as Ruff do:https://docs.astral.sh/ruff/linter/#error-suppression
Additional context Add any other context or screenshots about the feature request
here.
Advantage of
# prospector:useless-supressionAdvantage of
# noqaAs I understand in booth way, the code become specific to prospector