fix some more style-guide violations in the alert-messages

This commit is contained in:
erik-krogh
2022-10-07 11:23:34 +02:00
parent 5f740a5598
commit 944ca4a0da
115 changed files with 459 additions and 458 deletions

View File

@@ -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"

View File

@@ -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."