To avoid Pylint warnings on VSCode go to
Preferences > Settings > open any settings.json file and add
"python.linting.pylintArgs": [
"--errors-only"
],
I don’t know how to do the same on other editors.
To disable a particular warning remove “–errors-only” and add
"--disable="
+ the warning you want to disable
check
How do I disable pylint unused import error messages in vs code
for more info.
I hope this can help you.
Another way to do it is by appending
#pylint: disable=wrong-import-position
but obviously, it avoids the warning only for that module
CLICK HERE to find out more related problems solutions.