You may want to give flake8 a try as well. Uninstall Pylint and install flake8 using:
pip install flake8 flake8-mypy flake8-bugbear flake8-comprehensions flake8-executable flake8-pyi mccabe pycodestyle pyflakes

or just:
pip install flake8

Reference: https://github.com/pytorch/pytorch/wiki/Lint-as-you-type 53