Skip to content

Commit

Permalink
Merge pull request #21 from kevinjqiu/issue-18-fix-lint
Browse files Browse the repository at this point in the history
fixes #18
  • Loading branch information
kevinjqiu committed Jul 28, 2016
2 parents c45882b + 3fd1d6a commit 9f76140
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -7,7 +7,7 @@ stop_couchdb:
.travis/stop-couchdb.sh

flake8:
flake8 --max-line-length=120 cdbcli tests
flake8 --max-line-length=120 --ignore=F405 cdbcli tests

test:
test: flake8
py.test --cov=cdbcli --cov=tests --cov-report term-missing tests
2 changes: 1 addition & 1 deletion cdbcli/repl.py
Expand Up @@ -3,7 +3,7 @@
import couchdb

import prompt_toolkit as pt
from prompt_toolkit import history, shortcuts
from prompt_toolkit import history
from .lexer import lexer
from .completer import get_completer
from .style import style
Expand Down
1 change: 1 addition & 0 deletions requirements-test.txt
Expand Up @@ -3,3 +3,4 @@ pytest
pytest-cov
coveralls
pytest-mock
flake8
3 changes: 2 additions & 1 deletion tests/integration/test_repl.py
Expand Up @@ -223,7 +223,8 @@ def test_man_unrecognized_command(environment, couch_server):

def test_man_command_has_no_help(environment, couch_server):
@command_handler('xyz')
def xyz(*args, **kwargs): pass # pragma: nocover
def xyz(*args, **kwargs): # pragma: nocover
pass

eval_(environment, couch_server, 'man xyz')
output = _get_output(environment)
Expand Down

0 comments on commit 9f76140

Please sign in to comment.