Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
199b4c52
Unverified
Commit
199b4c52
authored
Jul 15, 2021
by
Sylvain Gugger
Committed by
GitHub
Jul 15, 2021
Browse files
Init adds its own files as impacted (#12709)
parent
6fb58d30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
utils/tests_fetcher.py
utils/tests_fetcher.py
+2
-0
No files found.
utils/tests_fetcher.py
View file @
199b4c52
...
...
@@ -194,6 +194,8 @@ def create_reverse_dependency_map():
# Finally we can build the reverse map.
reverse_map
=
collections
.
defaultdict
(
list
)
for
m
in
modules
:
if
m
.
endswith
(
"__init__.py"
):
reverse_map
[
m
].
extend
(
direct_deps
[
m
])
for
d
in
direct_deps
[
m
]:
reverse_map
[
d
].
append
(
m
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment