Lint a file and disable a specific error code

pylint

pylint --disable {{C,W,no-error,design}} {{path/to/file}}

click the source code to copy install pylint on any operating system with command-not-found.com