For command line use, pylint is installed with:
pip install pylint
Or if you want to also check spelling with enchant
(you might need to
install the enchant C library):
pip install pylint[spelling]
It can also be integrated in most editors or IDEs. More information can be found in the documentation.