summaryrefslogtreecommitdiffstats
path: root/pre_commit/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pre_commit/__main__.py')
-rw-r--r--pre_commit/__main__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pre_commit/__main__.py b/pre_commit/__main__.py
new file mode 100644
index 0000000..5414068
--- /dev/null
+++ b/pre_commit/__main__.py
@@ -0,0 +1,5 @@
+from pre_commit.main import main
+
+
+if __name__ == '__main__':
+ exit(main())