'Python: Check code for errors only(i.e not warnings or tips) in pyflakes and pylint

All the tools i see for this seem to give warnings etc which im not interested in

Basically I want the equivalent of a java code compiler to say "This wont run" if any errors are found.

Any 1 liners that one can use for this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source