mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
moved to experimental
This commit is contained in:
@@ -0,0 +1 @@
|
||||
| NamingConventionsFunctions.py:4:5:4:25 | Function HelloWorld | Function names should start in lowercase. |
|
||||
@@ -0,0 +1,9 @@
|
||||
class Test:
|
||||
|
||||
# BAD, do not start function name with uppercase letter
|
||||
def HelloWorld(self):
|
||||
print("hello world")
|
||||
|
||||
# GOOD, function name starts with lowercase letter
|
||||
def hello_world(self):
|
||||
print("hello world")
|
||||
@@ -0,0 +1 @@
|
||||
experimental/Functions/NamingConventionsFunctions.ql
|
||||
Reference in New Issue
Block a user