Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions pylint_runner/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,11 @@ def _parse_ignores(self):
print(error_message)
sys.exit(1)

if config.has_section("MASTER") and config.get("MASTER", "ignore"):
self.ignore_folders += config.get("MASTER", "ignore").split(",")
master_sections = ['MASTER', 'master', 'pylint.MASTER', 'pylint.master']
for master_section in master_sections:
if config.has_section(master_section) and config.get(master_section, "ignore"):
self.ignore_folders += config.get(master_section, "ignore").split(",")
break

def _is_using_default_rcfile(self):
return self.rcfile == os.getcwd() + "/" + self.DEFAULT_RCFILE
Expand Down