Files
codeql/python/ql/test/experimental/query-tests/Classes/Naming/NamingConventionsClasses.py
2020-07-01 09:54:58 -07:00

11 lines
233 B
Python

# BAD, do not start class or interface name with lowercase letter
class badName:
def hello(self):
print("hello")
# Good, class name starts with capital letter
class GoodName:
def hello(self):
print("hello")