Tag 'type-checking'-like quality queries

This commit is contained in:
Joe Farebrother
2025-06-18 10:36:06 +01:00
parent 4b1d31c976
commit 02f8ec33f2
15 changed files with 32 additions and 22 deletions

View File

@@ -2,7 +2,8 @@
* @name Membership test with a non-container
* @description A membership test, such as 'item in sequence', with a non-container on the right hand side will raise a 'TypeError'.
* @kind problem
* @tags reliability
* @tags quality
* reliability
* correctness
* @problem.severity error
* @sub-severity high

View File

@@ -2,7 +2,8 @@
* @name Formatted object is not a mapping
* @description The formatted object must be a mapping when the format includes a named specifier; otherwise a TypeError will be raised."
* @kind problem
* @tags reliability
* @tags quality
* reliability
* correctness
* @problem.severity error
* @sub-severity low

View File

@@ -2,7 +2,8 @@
* @name Unhashable object hashed
* @description Hashing an object which is not hashable will result in a TypeError at runtime.
* @kind problem
* @tags reliability
* @tags quality
* reliability
* correctness
* @problem.severity error
* @sub-severity low

View File

@@ -2,9 +2,9 @@
* @name Non-callable called
* @description A call to an object which is not a callable will raise a TypeError at runtime.
* @kind problem
* @tags reliability
* @tags quality
* reliability
* correctness
* types
* @problem.severity error
* @sub-severity high
* @precision high

View File

@@ -4,7 +4,8 @@
* parameter of the called function or method, will result in a
* TypeError at runtime.
* @kind problem
* @tags reliability
* @tags quality
* reliability
* correctness
* external/cwe/cwe-628
* @problem.severity error

View File

@@ -2,7 +2,8 @@
* @name Wrong number of arguments in a call
* @description Using too many or too few arguments in a call to a function will result in a TypeError at runtime.
* @kind problem
* @tags reliability
* @tags quality
* reliability
* correctness
* external/cwe/cwe-685
* @problem.severity error