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.

name_preset_snake_case.py 570B

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 say_hello(some_argument):
  5. return [some_argument * some_value for some_value in range(10)]
  6. class MyClass: # [invalid-name]
  7. def __init__(self, arg_x):
  8. self._my_secret_x = arg_x
  9. @property
  10. def my_public_x(self):
  11. return self._my_secret_x * 2
  12. def __eq__(self, other):
  13. return isinstance(other, MyClass) and self.my_public_x == other.my_public_x
  14. def sayHello(): # [invalid-name]
  15. pass