-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Was taking 10 mins. Now a few seconds.
- Loading branch information
Showing
9 changed files
with
73 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import sys | ||
import traceback | ||
from importlib.machinery import SourceFileLoader | ||
|
||
if __name__ == "__main__": | ||
files = sys.argv[1:] | ||
has_failure = False | ||
for file in files: | ||
try: | ||
SourceFileLoader("x", file).load_module() | ||
except Exception: | ||
has_faillure = True | ||
print(file) | ||
traceback.print_exc() | ||
print() | ||
|
||
sys.exit(1 if has_failure else 0) |
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
import sys | ||
import traceback | ||
from importlib.machinery import SourceFileLoader | ||
|
||
if __name__ == "__main__": | ||
files = sys.argv[1:] | ||
has_failure = False | ||
for file in files: | ||
try: | ||
SourceFileLoader("x", file).load_module() | ||
except Exception: | ||
has_faillure = True | ||
print(file) | ||
traceback.print_exc() | ||
print() | ||
|
||
sys.exit(1 if has_failure else 0) |
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,17 @@ | ||
import sys | ||
import traceback | ||
from importlib.machinery import SourceFileLoader | ||
|
||
if __name__ == "__main__": | ||
files = sys.argv[1:] | ||
has_failure = False | ||
for file in files: | ||
try: | ||
SourceFileLoader("x", file).load_module() | ||
except Exception: | ||
has_faillure = True | ||
print(file) | ||
traceback.print_exc() | ||
print() | ||
|
||
sys.exit(1 if has_failure else 0) |
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,17 @@ | ||
import sys | ||
import traceback | ||
from importlib.machinery import SourceFileLoader | ||
|
||
if __name__ == "__main__": | ||
files = sys.argv[1:] | ||
has_failure = False | ||
for file in files: | ||
try: | ||
SourceFileLoader("x", file).load_module() | ||
except Exception: | ||
has_faillure = True | ||
print(file) | ||
traceback.print_exc() | ||
print() | ||
|
||
sys.exit(1 if has_failure else 0) |