We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b981f2 commit 1f92c4eCopy full SHA for 1f92c4e
tests/benchmarks/bm_main.py
@@ -12,7 +12,7 @@
12
from os.path import dirname, isfile, join
13
14
15
-if __name__ == "__main__":
+def main() -> None:
16
# pyre-ignore[16]
17
if len(sys.argv) > 1:
18
# Parse from flags.
@@ -36,3 +36,7 @@
36
os.environ["PYTHONPATH"] = ":".join(sys.path)
37
for file_name in file_names:
38
subprocess.check_call([sys.executable, file_name])
39
+
40
41
+if __name__ == "__main__":
42
+ main() # pragma: no cover
0 commit comments