Trying to set Python package path to run pylint as an external tool in IDEA/PyCharm and following PyLint "Unable to import" error - how to set PYTHONPATH? to setup pylintrc.
[MASTER] init-hook="from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc()))"
However, pylint.config.find_pylintrc()
returns None inside IDEA/PyCharm.
Please advise how to fix this.