Skip to content

Commit

Permalink
fix: travis build
Browse files Browse the repository at this point in the history
 - added pylint rule for __main__.py because we dont need to pass ctx to
   cli, it gets added as part of a decorator.
 - added docstring
  • Loading branch information
sriram-mv committed Feb 13, 2019
1 parent 80faa88 commit 836d531
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# Add files or directories to the blacklist. They should be base names, not
# paths.
ignore=compat.py
ignore=compat.py, __main__.py

# Pickle collected data for later comparisons.
persistent=yes
Expand Down
6 changes: 6 additions & 0 deletions samcli/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
"""
Invokable Module for CLI
python -m samcli
"""

import sys
from samcli.cli.main import cli

Expand Down

0 comments on commit 836d531

Please sign in to comment.