-
-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scandeps should not apply mergedirs at every level (#1615)
* scandeps should not apply mergedirs at every level When getting back a list of dependencies, and using "nestdirs", in the specific case it there are references to both a directory and files within that directory, it may report multiple dependencies for the same directory. The mergedir method merges those references into one. * Add comments to scandeps * Add test. Fix mypy/format
- Loading branch information
Showing
4 changed files
with
100 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"dir1": { | ||
"class": "Directory", | ||
"listing": [ | ||
{"class": "File", "basename": "foo", "location": "tests/wf/foo1"}, | ||
{"class": "File", "basename": "foo", "location": "tests/wf/foo2"} | ||
] | ||
} |