Avoid Specific Libraries #9372
Unanswered
ppashakhanloo
asked this question in
Q&A
Replies: 1 comment 2 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, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions