diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-05-09 21:16:34 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-05-13 17:30:49 +0200 |
commit | 57014d6a45672d76f6a58a9533ff998268525165 (patch) | |
tree | 3e942755be49f369d70b3793d9404f52f0c545fe /pylint/lint/pylinter.py | |
parent | 7d80ca5bdbbb0aea4da504ba8abc984f1530fd80 (diff) | |
download | pylint-git-2.13.9.tar.gz |
Bump pylint to 2.13.9, update changelogv2.13.9
Diffstat (limited to 'pylint/lint/pylinter.py')
-rw-r--r-- | pylint/lint/pylinter.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pylint/lint/pylinter.py b/pylint/lint/pylinter.py index 878c1190e..a0218937d 100644 --- a/pylint/lint/pylinter.py +++ b/pylint/lint/pylinter.py @@ -251,6 +251,7 @@ class PyLinter( "type": "regexp_paths_csv", "metavar": "<pattern>[,<pattern>...]", "default": [], + "dest": "ignore_paths", "help": "Add files or directories matching the regex patterns to the " "ignore-list. The regex matches against paths and can be in " "Posix or Windows format.", @@ -1030,8 +1031,8 @@ class PyLinter( if _is_ignored_file( root, - self.config.ignore, - self.config.ignore_patterns, + self.config.black_list, + self.config.black_list_re, self.config.ignore_paths, ): skip_subtrees.append(root) @@ -1193,7 +1194,7 @@ class PyLinter( modules, self.config.black_list, self.config.black_list_re, - self._ignore_paths, + self.config.ignore_paths, ) for error in errors: message = modname = error["mod"] |