Files
codeql/python/ql/test/query-tests/Classes/Naming/NamingConventionsClasses.py
2020-06-25 11:39:09 -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")