#pylint: disable=W0401,W0611 """check unexistant names imported are reported""" __revision__ = None import logilab.common.tutu from logilab.common import toto toto.yo() from logilab.common import modutils modutils.nonexistant_function() modutils.another.nonexistant.function() print(logilab.common.modutils.yo) import sys print('hello world', file=sys.stdout) print('bye bye world', file=sys.stdoout) import re re.finditer('*', 'yo') from rie import * from re import findiiter, compiile import os 'SOMEVAR' in os.environ
#pylint: disable=W0401,W0611 """check unexistant names imported are reported""" __revision__ = None import logilab.common.tutu from logilab.common import toto toto.yo() from logilab.common import modutils modutils.nonexistant_function() modutils.another.nonexistant.function() print logilab.common.modutils.yo import sys print >> sys.stdout, 'hello world' print >> sys.stdoout, 'bye bye world' import re re.finditer('*', 'yo') from rie import * from re import findiiter, compiile import os 'SOMEVAR' in os.environ
#pylint: disable=W0401,W0611,no-absolute-import """check unexistant names imported are reported""" from __future__ import print_function import logilab.common.tutu # [no-name-in-module,import-error] from logilab.common import toto # [no-name-in-module] toto.yo() from logilab.common import modutils modutils.nonexistant_function() # [no-member] modutils.another.nonexistant.function() # [no-member] print(logilab.common.modutils.yo) # [no-member] import sys print(sys.stdout, 'hello world') print(sys.stdoout, 'bye bye world') # [no-member] import re re.finditer('*', 'yo') from rie import * # [import-error] from re import findiiter, compiile # [no-name-in-module,no-name-in-module] import os 'SOMEVAR' in os.environ # [pointless-statement]
#pylint: disable=W0401,W0611,print-statement,no-absolute-import """check unexistant names imported are reported""" import logilab.common.tutu # [no-name-in-module,import-error] from logilab.common import toto # [no-name-in-module] toto.yo() from logilab.common import modutils modutils.nonexistant_function() # [no-member] modutils.another.nonexistant.function() # [no-member] print logilab.common.modutils.yo # [no-member] import sys print >> sys.stdout, 'hello world' print >> sys.stdoout, 'bye bye world' # [no-member] import re re.finditer('*', 'yo') from rie import * # [import-error] from re import findiiter, compiile # [no-name-in-module,no-name-in-module] import os 'SOMEVAR' in os.environ # [pointless-statement]