]> git.scottworley.com Git - pinch/blobdiff - pinch.py
Omit build directories from mypy run
[pinch] / pinch.py
index b76131399f6ee9d78188305a739e25c0aebf1b52..5f250150660351cc59da24bb1578790dbf1290b2 100644 (file)
--- a/pinch.py
+++ b/pinch.py
@@ -602,4 +602,5 @@ def main() -> None:
     args.func(args)
 
 
-main()
+if __name__ == '__main__':
+    main()