python - Can I have pylint warn of suppression lines that would be unnecessary? -
with pylint, possible tell output warnings on lines explicitly disable particular warning, warning doesn't occur?
the idea here i'd clean suppression lines added, after refactoring code.
now obvious method remove suppression lines , add them 1 one. since pylint knows code , ask of using suppression lines, it'd better equipped point out unnecessary suppression lines.
can pylint this?
i tried search feature, came empty-handed. picked wrong search terms.
i think looking useless-suppression, in pylint --enable=useless-suppression. disabled default.
Comments
Post a Comment