diff options
Diffstat (limited to 'pylint/lint/pylinter.py')
-rw-r--r-- | pylint/lint/pylinter.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pylint/lint/pylinter.py b/pylint/lint/pylinter.py index 1619159c6..023455f68 100644 --- a/pylint/lint/pylinter.py +++ b/pylint/lint/pylinter.py @@ -974,7 +974,7 @@ class PyLinter( # pylint: disable=unused-argument @staticmethod def should_analyze_file(modname, path, is_argument=False): - """Returns whether or not a module should be checked. + """Returns whether a module should be checked. This implementation returns True for all python source file, indicating that all files should be linted. @@ -1059,7 +1059,7 @@ class PyLinter( The arguments are the same that are documented in _check_files - The initialize() method should be called before calling this method + initialize() should be called before calling this method """ with self._astroid_module_checker() as check_astroid_module: self._check_file(self.get_ast, check_astroid_module, file) @@ -1408,8 +1408,8 @@ class PyLinter( fallback = True lines = self.file_state._raw_module_msgs_state.get(msgid, {}) - # Doesn't consider scopes, as a disable can be in a different scope - # than that of the current line. + # Doesn't consider scopes, as a 'disable' can be in a + # different scope than that of the current line. closest_lines = reversed( [ (message_line, enable) |