Skip to content

Commit

Permalink
ignore PyLint rules individually in Pylintbear
Browse files Browse the repository at this point in the history
  • Loading branch information
AGZain committed Mar 4, 2017
1 parent a06d34e commit d13b287
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bears/python/PyLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class PyLintBear:

@staticmethod
def create_arguments(filename, file, config_file,
pylint_disable: typed_list(str)=None,
pylint_disable: typed_list(str)='',
pylint_enable: typed_list(str)=None,
pylint_cli_options: str='',
pylint_rcfile: str=''):
Expand All @@ -49,8 +49,6 @@ def create_arguments(filename, file, config_file,
'--msg-template="L{line}C{column}: {msg_id} - {msg}"')
if pylint_disable:
args += ('--disable=' + ','.join(pylint_disable),)
if pylint_enable:
args += ('--enable=' + ','.join(pylint_enable),)
if pylint_cli_options:
args += tuple(shlex.split(pylint_cli_options))
if pylint_rcfile:
Expand Down

0 comments on commit d13b287

Please sign in to comment.