From 38d14c7314085439feb0a3d55cbb3d6fa7fab866 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Tue, 21 Mar 2017 16:00:58 +0700 Subject: [PATCH] Add __main__ Allows execution using python -m yamllint --- yamllint/__main__.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 yamllint/__main__.py diff --git a/yamllint/__main__.py b/yamllint/__main__.py new file mode 100644 index 0000000..bc16534 --- /dev/null +++ b/yamllint/__main__.py @@ -0,0 +1,4 @@ +from yamllint.cli import run + +if __name__ == '__main__': + run()