You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `false positives` becomes `false positive results`
- Items are listed alphabetically.
- Query IDs are listed.
Also, some of the queries had the wrong name (query message rather than the
actual query name). These have been fixed.
|Unreachable code | Fewer false positives | Analysis now accounts for uses of `contextlib.suppress`to suppress exceptions. |
34
-
|`__iter__` method returns a non-iterator | Better alert message | Alert now highlights which class is expected to be an iterator. |
35
-
|Explicit return in __init__ method | Fewer false positives | Instances where the `__init__` method returns the value of a call to a procedure are no longer flagged. |
36
-
|Non-iterable used in for loop | Fewer false positives |`__aiter__` is now recognized as an iterator method. |
37
-
|Unused import | Fewer false positives | Instances where a module is used in a forward-referenced type annotation, or only during type checking are no longer flagged. |
38
-
|Module-level cyclic import | Fewer false positives | Instances where one of the links in an import cycle is never actually executed are no longer flagged. |
39
-
|Undefined export | Fewer false positives|Instances where an exported value may be defined in a module that lacks points-to information are no longer flagged. |
40
-
|Unreachable code | Fewer false positives | Unreachable `else` branches that do nothing but `assert` their non-reachability are no longer flagged. |
33
+
|Explicit export is undefined (`py/undefined-export`) | Fewer false positive results | Instances where an exported value may be defined in a module that lacks points-to information are no longer flagged. |
34
+
|Module-level cyclic import (`py/unsafe-cyclic-import`) | Fewer false positive results | Instances where one of the links in an import cycle is never actually executed are no longer flagged. |
35
+
|Non-iterable used in for loop (`py/non-iterable-in-for-loop`) | Fewer false positive results |`__aiter__` is now recognized as an iterator method. |
36
+
|Unreachable code (`py/unreachable-statement`) | Fewer false positive results | Analysis now accounts for uses of `contextlib.suppress` to suppress exceptions. |
37
+
|Unreachable code (`py/unreachable-statement`) | Fewer false positive results | Unreachable `else` branches that do nothing but `assert` their non-reachability are no longer flagged. |
38
+
|Unused import (`py/unused-import`)| Fewer false positive results | Instances where a module is used in a forward-referenced type annotation, or only during type checking are no longer flagged. |
39
+
|`__iter__` method returns a non-iterator (`py/iter-returns-non-iterator`)|Better alert message | Alert now highlights which class is expected to be an iterator. |
40
+
|`__init__` method returns a value (`py/explicit-return-in-init`) | Fewer false positive results | Instances where the `__init__` method returns the value of a call to a procedure are no longer flagged. |
0 commit comments