third_party.pylibs.pylint.src/test/input/func_w0133.py
root 4becf6f9e5 forget the past.
forget the past.
2006-04-26 10:48:09 +00:00

55 lines
1018 B
Python

# pylint: disable-msg=R0903,R0201
"""test Invalid name"""
__revision__ = 1
def Run():
"""method without any good name"""
class B:
"""nested class should not be tested has a variable"""
def __init__(self):
pass
bBb = 1
return A, bBb
def run():
"""anothrer method without only good name"""
class Aaa:
"""nested class should not be tested has a variable"""
def __init__(self):
pass
bbb = 1
return Aaa(bbb)
A = None
def HOHOHOHO():
"""yo"""
HIHIHI = 1
print HIHIHI
class xyz:
"""yo"""
def __init__(self):
pass
def Youplapoum(self):
"""bad method name"""
def nested_args(arg1, (arg21, arg22)):
"""function with nested arguments"""
print arg1, arg21, arg22
GOOD_CONST_NAME = ''
benpasceluila = 0
class Correct:
"""yo"""
def __init__(self):
self.cava = 12
self._Ca_va_Pas = None
V = [WHAT_Ever_inListComp for WHAT_Ever_inListComp in GOOD_CONST_NAME]