Skip to content
Commit b56abded authored by Chris Adams's avatar Chris Adams
Browse files

mccabe check: gracefully handle compile failures

compiler.parse() will fail with an unhandled AttributeError when called with a
module. Now a message will be printed to stderr and the mccabe check will return
0 rather than crashing.
parent a4700047
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment