Skip to content

Commit

Permalink
Merge pull request prospector-dev#96 from jayclassless/pep8_ignore_fix
Browse files Browse the repository at this point in the history
PEP8 Ignoring Profile Disabled Codes
  • Loading branch information
carlio committed Jan 10, 2015
2 parents d6dbc8c + cbbb60e commit cd0aa83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prospector/tools/pep8/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ def configure(self, prospector_config, found_files):
# Make sure pep8's code ignores are fully reset to zero before
# adding prospector-flavoured configuration.
# pylint: disable=W0201
self.checker.select = ()
self.checker.ignore = prospector_config.get_disabled_messages('pep8')
self.checker.options.select = ()
self.checker.options.ignore = tuple(prospector_config.get_disabled_messages('pep8'))

if 'max-line-length' in prospector_config.tool_options('pep8'):
self.checker.options.max_line_length = \
Expand Down

0 comments on commit cd0aa83

Please sign in to comment.