mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
Python: Add many medium precision queries to the code-quality-extended suite.
This commit is contained in:
@@ -4,8 +4,10 @@
|
||||
* makes the built-in object unusable within the current scope and makes the code
|
||||
* more difficult to read.
|
||||
* @kind problem
|
||||
* @tags maintainability
|
||||
* @tags quality
|
||||
* maintainability
|
||||
* readability
|
||||
* correctness
|
||||
* @problem.severity recommendation
|
||||
* @sub-severity low
|
||||
* @precision medium
|
||||
|
||||
@@ -4,8 +4,10 @@
|
||||
* makes the global variable unusable within the current scope and makes the code
|
||||
* more difficult to read.
|
||||
* @kind problem
|
||||
* @tags maintainability
|
||||
* @tags quality
|
||||
* maintainability
|
||||
* readability
|
||||
* correctness
|
||||
* @problem.severity recommendation
|
||||
* @sub-severity low
|
||||
* @precision medium
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
* @name Use of an undefined placeholder variable
|
||||
* @description Using a variable before it is initialized causes an exception.
|
||||
* @kind problem
|
||||
* @tags reliability
|
||||
* @tags quality
|
||||
* reliability
|
||||
* correctness
|
||||
* @problem.severity error
|
||||
* @sub-severity low
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
* @name Potentially uninitialized local variable
|
||||
* @description Using a local variable before it is initialized causes an UnboundLocalError.
|
||||
* @kind problem
|
||||
* @tags reliability
|
||||
* @tags quality
|
||||
* reliability
|
||||
* correctness
|
||||
* @problem.severity error
|
||||
* @sub-severity low
|
||||
|
||||
@@ -2,7 +2,10 @@
|
||||
* @name Unused parameter
|
||||
* @description Parameter is defined but not used
|
||||
* @kind problem
|
||||
* @tags maintainability
|
||||
* @tags quality
|
||||
* reliability
|
||||
* correctness
|
||||
* readability
|
||||
* @problem.severity recommendation
|
||||
* @sub-severity high
|
||||
* @precision medium
|
||||
|
||||
Reference in New Issue
Block a user