mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
fix some more style-guide violations in the alert-messages
This commit is contained in:
@@ -21,5 +21,5 @@ where
|
||||
major_version() = 2
|
||||
/* Raising a tuple is a type error in Python 3, so is handled by the IllegalRaise query. */
|
||||
select r,
|
||||
"Raising $@ will result in the first element (recursively) being raised and all other elements being discarded.",
|
||||
origin, "a tuple"
|
||||
"Raising a $@ will result in the first element (recursively) being raised and all other elements being discarded.",
|
||||
origin, "tuple"
|
||||
|
||||
@@ -73,4 +73,4 @@ where
|
||||
// However, we do not know the minor version of the analyzed code (only of the extractor),
|
||||
// so we only alert on Python 2.
|
||||
major_version() = 2
|
||||
select call, "Call to next() in a generator"
|
||||
select call, "Call to 'next()' in a generator."
|
||||
|
||||
Reference in New Issue
Block a user