moved to experimental

This commit is contained in:
dilanbhalla
2020-07-01 09:54:58 -07:00
parent dc58f6fa87
commit dc73fcc4e8
12 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
/**
* @name Misnamed function
* @description A function name that begins with an uppercase letter decreases readability.
* @kind problem
* @problem.severity recommendation
* @precision medium
* @id python/misnamed-function
* @tags maintainability
*/
import python
from Function f
where
f.inSource() and
not f.getName().substring(0, 1).toLowerCase() = f.getName().substring(0, 1)
select f, "Function names should start in lowercase."