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

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - VueJS2 and the Window Object - how to use? -