I am wondering whether it is possible to run pylint on a string containing code. I checked that it is possible in flake8 i.e. http://flake8.readthedocs.org/en/latest/api.html#flake8.main.check_code Is that possible in pylint? Thanks