org.sonar.*
-
-
"Rewrite this \"except\" expression as a tuple of exception classes."
"Replace with a tuple"
-
-
"Use the built-in generic type `%s` instead of its typing counterpart."
-
"Rename this variable; it shadows a builtin."
"Rename to _ %s"
"_"
"Variable also assigned here."
-
"Make \"%s\" deriving from \"Exception\""
-
-
"Remove the redundant Exception"
-
-
-
-
"Remove this commented out code."
-
"Refactor this function to use \"return\" consistently."
-
"Remove the unused assignment"
-
"S108"
"Add a TODO comment"
-
-
-
"The secret is used in this call."
-
-
"Replace with \"!=\""
"Replace with \"==\""
-
"Replace with \"!=\""
"Replace with \"==\""
-
"Propagate the exception"
-
-
-
"LongIntegerWithLowercaseSuffixUsage"
-
"Annotate the return type of this constructor with `None`."
"Add a return type hint to this function declaration."
-
-
"Remove the \"pass\" statement"
-
-
"Add a citation of the person who can best explain this comment."
-
"Replace the raised exception with return NotImplemented"
-
"Pass a list to \"np.array\" instead of passing a generator."
-
-
-
-
"Specify the `num_workers` parameter."
"num_workers"
public static final int
5
-
"Remove redundant statement"
-
-
-
"ssl.SSLContext.set_ciphers"
-
-
"S1656"
"Remove or correct this useless self-assignment."
-
"Avoid accessing transformers in a cached pipeline."
"The transformer is accessed here"
"The Pipeline is created here"
-
"Remove the statement"
"Remove all trailing underscores from the variable name"
-
"Provide valid parameters to the estimator."
-
"Specify a memory argument for the pipeline."
"Add the memory argument"
-
"Use %I (12-hour clock) or %H (24-hour clock) without %p (AM/PM)."
"Use %I (12-hour clock) with %p (AM/PM)."
-
"input_shape"
"Remove this `input_shape` argument, it is deprecated."
-
"axis"
public static final int
1
"dim"
public static final int
-1
-
-
-
-
"Replace this call with a safe alternative."
"False"
"torch.load"
"weights_only"
-
"insert call to super constructor"
-
"S1110"
"Remove the redundant parentheses"
-
"Disable access to external entities in XML parsing."
"This function loads the XML code and triggers the vulnerability."
-
-
-
"Make sure allowing unrestricted access to objects from this bucket is safe here."
"Make sure granting %s access is safe here."
-
"Objects in the bucket are not encrypted. Make sure it is safe here."
"Omitting \'encryption\' disables server-side encryption. Make sure it is safe here."
-
"Make sure an unversioned S3 bucket is safe here."
"Omitting the \"versioned\" argument disables S3 bucket versioning. Make sure it is safe here."
-
"Omitting \"allow_all_outbound\" enables unrestricted outbound communications. Make sure it is safe here."
"Make sure that allowing unrestricted outbound communications is safe here."
-
"Set the fields of this form explicitly instead of using \"__all__\"."
"Set the fields of this form explicitly instead of using \"exclude\"."
-
"Define a \"__str__\" method for this Django model."
-
-
"S4507"
"django.conf.settings.configure"
"flask.app.Flask.debug"
"flask_graphql.GraphQLView.as_view"
-
"\"%s\" detected here, review this potentially hard-coded credential."
-
-
"headers"
"httponly"
"set_cookie"
-
-
-
"Make sure that using this pseudorandom number generator is safe here."
-
-
"headers"
"secure"
"set_cookie"
-
-
-
"Replace spaces with quantifier \"%s\""
-
"Consider replacing this octal escape sequence with a Unicode or hexadecimal sequence instead."
-
"Replace this character class with the character itself"
-
-
"Replace with \"%s\""
"Use simple character \'%s\' instead of \'%s\'."
"Use simple repetition \'%s\' instead of \'%s\'."
"The repeated element."
-
"Change indentation level"
-