Avoid Specific Libraries #9372
Unanswered
ppashakhanloo asked this question in Q&A
Replies: 1 comment 4 replies
-
Can you provide an example of how you're invoking the CodeQL CLI and what your Python code looks like? Of particular interest is whether you import any standard library modules in your Python code. The Python extractor automatically follows such imports, and so if you import, say, |
BetaWas this translation helpful?Give feedback.
4 replies
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I used CodeQL cli 2.9.2 to create a database for a small piece of Python code. CodeQL seems to extract all the Python libraries it can find (e.g., under /Users/pardis/.pyenv). These libraries are not even relevant to the file I intend to analyze. How can I instruct CodeQL to not go through (or extract) these libraries?
BetaWas this translation helpful?Give feedback.
All reactions