mirror of
https://github.com/github/codeql.git
synced 2026-07-29 14:56:51 +02:00
Python: mark definition of type ascription as SPURIOUS
This commit is contained in:
@@ -8,7 +8,7 @@ def func[T](x: T) -> T: # $ cfgdefines=func cfgdefines=x
|
||||
|
||||
|
||||
class Box[T]: # $ cfgdefines=Box
|
||||
item: T # $ cfgdefines=item
|
||||
item: T # $ SPURIOUS: cfgdefines=item
|
||||
|
||||
|
||||
# Multi-parameter, with bound and variadics.
|
||||
|
||||
Reference in New Issue
Block a user