Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

namePresetCamelCase.py 554B

1234567891011121314151617181920212223
  1. # pylint: disable=old-style-class,missing-docstring,too-few-public-methods
  2. __version__ = "1.0"
  3. SOME_CONSTANT = 42 # [invalid-name]
  4. def sayHello(someArgument):
  5. return [someArgument * someValue for someValue in range(10)]
  6. class MyClass: # [invalid-name]
  7. def __init__(self, argX):
  8. self._mySecretX = argX
  9. @property
  10. def myPublicX(self):
  11. return self._mySecretX * 2
  12. def __eq__(self, other):
  13. return isinstance(other, MyClass) and self.myPublicX == other.myPublicX
  14. def say_hello(): # [invalid-name]
  15. pass