summaryrefslogtreecommitdiff
path: root/tests/functional/n/namePresetCamelCase.py
blob: e048ec4d8a8aaa21399135bd264e226b6b828168 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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