Skip to content

Commit

Permalink
Merge b97aad3 into fa258b2
Browse files Browse the repository at this point in the history
  • Loading branch information
carsongee committed Nov 9, 2020
2 parents fa258b2 + b97aad3 commit 6c81b4f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pytest_pylint/plugin.py
Expand Up @@ -142,9 +142,11 @@ def _load_rc_file(self, pylintrc_file):
pass

try:
self.pylint_ignore_patterns = self.pylint_config.get(
ignore_patterns = self.pylint_config.get(
'MASTER', 'ignore-patterns'
).split(',')
)
if ignore_patterns:
self.pylint_ignore_patterns = ignore_patterns.split(',')
except (NoSectionError, NoOptionError):
pass

Expand Down

0 comments on commit 6c81b4f

Please sign in to comment.