diff options
author | William Deegan <bill@baddogconsulting.com> | 2021-04-19 02:34:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-19 02:34:19 (GMT) |
commit | ca884a6fda9ddc7f11affca8b8cc292e8026eba2 (patch) | |
tree | 6aa527c37ba66c7dd4526f06b75ee51d796fa172 /test/Scanner/Python/script.py | |
parent | 0b1a9746194554f3578d3f9b7e4d9ad0cd5a0324 (diff) | |
parent | 93f8c808e1ffdec5171a60a985e1189e96baaddc (diff) | |
download | SCons-ca884a6fda9ddc7f11affca8b8cc292e8026eba2.zip SCons-ca884a6fda9ddc7f11affca8b8cc292e8026eba2.tar.gz SCons-ca884a6fda9ddc7f11affca8b8cc292e8026eba2.tar.bz2 |
Merge pull request #3825 from grossag/topic/grossag/pythondynamicscan
Teach the Python scanner to find generated files and directories
Diffstat (limited to 'test/Scanner/Python/script.py')
-rw-r--r-- | test/Scanner/Python/script.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Scanner/Python/script.py b/test/Scanner/Python/script.py new file mode 100644 index 0000000..105a575 --- /dev/null +++ b/test/Scanner/Python/script.py @@ -0,0 +1,6 @@ +import package1 # noqa: F401 +import package2 # noqa: F401 +import sys + +with open(sys.argv[1], 'w') as f: + f.write('test') |