summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xCHANGES.txt2
-rw-r--r--test/fixture/python_scanner/imports_unknown_files.py6
2 files changed, 5 insertions, 3 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 77fb110..e790b67 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -35,6 +35,8 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
User-facing behavior does not change with this fix (GH Issue #3726).
- Fix occasional test failures caused by not being able to find a file or directory fixture
when running multiple tests with multiple jobs.
+ - Add support to the Python scanner for finding dynamically generated dependencies.
+ Previously the scanner only found imports if they existed on disk at scanning time.
From Joachim Kuebart:
- Suppress missing SConscript deprecation warning if `must_exist=False`
diff --git a/test/fixture/python_scanner/imports_unknown_files.py b/test/fixture/python_scanner/imports_unknown_files.py
index 2059181..5582e7b 100644
--- a/test/fixture/python_scanner/imports_unknown_files.py
+++ b/test/fixture/python_scanner/imports_unknown_files.py
@@ -1,3 +1,3 @@
-import doesntexist
-import notthere.something
-from notthere import a, few, things \ No newline at end of file
+import doesntexist # noqa: F401
+import notthere.something # noqa: F401
+from notthere import a, few, things # noqa: F401 \ No newline at end of file