23 lines
538 B
Python
23 lines
538 B
Python
# pylint: disable=missing-docstring,too-few-public-methods
|
|
__version__ = "1.0"
|
|
SOME_CONSTANT = 42 # [invalid-name]
|
|
|
|
|
|
def sayHello(someArgument):
|
|
return [someArgument * someValue for someValue in range(10)]
|
|
|
|
|
|
class MyClass: # [invalid-name]
|
|
def __init__(self, argX):
|
|
self._mySecretX = argX
|
|
|
|
@property
|
|
def myPublicX(self):
|
|
return self._mySecretX * 2
|
|
|
|
def __eq__(self, other):
|
|
return isinstance(other, MyClass) and self.myPublicX == other.myPublicX
|
|
|
|
|
|
def say_hello(): # [invalid-name]
|
|
pass
|