mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
Python: Remove references to LGTM
This commit is contained in:
@@ -46,7 +46,7 @@ class InitCallsBadInit(ExplicitReturnInInit):
|
||||
|
||||
# OK as procedure implicitly returns None
|
||||
#
|
||||
# this was seen in the wild: https://lgtm.com/projects/b/jjburton/cgmtools/snapshot/0d8a429b7ea17854a5e5341df98b1cbd54d7fe6c/files/mayaTools/cgm/lib/classes/AttrFactory.py?sort=name&dir=ASC&mode=heatmap#L90
|
||||
# this was seen in the wild:
|
||||
# using a pattern of `return procedure_that_logs_error()`
|
||||
|
||||
def procedure():
|
||||
|
||||
@@ -127,7 +127,7 @@ Z().meth(0)
|
||||
# makes it such. As a consequence, the query `py/not-named-self` and other
|
||||
# relevant queries need to account for this.
|
||||
#
|
||||
# This has come up in the wild via LGTM as a false positive. For example,
|
||||
# This has come up in the wild as a false positive. For example,
|
||||
# `__init_subclass__`:
|
||||
# https://docs.python.org/3/reference/datamodel.html#customizing-class-creation
|
||||
# `__class_getitem__`:
|
||||
|
||||
Reference in New Issue
Block a user