mirror of
https://github.com/github/codeql.git
synced 2025-12-24 20:56:33 +01:00
Limits the behaviour of github/codeql#5614 in two ways: First, we only consider files that are contained in the source archive. This prevents unnecessary computation involving files in e.g. the standard library. Secondly, we ignore any relative imports (e.g. `from .foo import ...`), as these only work inside packages anyway. This fixes an observed performance regression on projects that include `google-cloud-sdk` as part of their source code.