diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2016-05-31 16:08:42 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2016-05-31 16:08:42 +0100 |
commit | 5fcfe83ef72429e23785ac8671b364e6aa934932 (patch) | |
tree | e299b85c949f749eb31dfa82351b387081a38662 /pylint/pyreverse/utils.py | |
parent | 3d0478132e10428bdca9727fb955ea036afc29c1 (diff) | |
download | pylint-git-5fcfe83ef72429e23785ac8671b364e6aa934932.tar.gz |
Do not emit import-error or no-name-in-module for fallback import blocks by default.
Until now, we warned with these errors when a fallback import block (a TryExcept block
that contained imports for Python 2 and 3) was found, but this gets cumbersome when
trying to write compatible code. As such, we don't check these blocks by default,
but the analysis can be enforced by using the new ``--analyse-fallback-block`` flag.
Close #769.
Diffstat (limited to 'pylint/pyreverse/utils.py')
0 files changed, 0 insertions, 0 deletions