mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Python: Account for non-evaluation of annotations in cyclic imports.
Should fix #2426. Essentially, we disregard expressions used inside annotations, if these annotations occur in a file that has `from __future__ import annotations`, as this prevents the annotations from being evaluated.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Imports/ModuleLevelCyclicImport.ql
|
||||
Reference in New Issue
Block a user