diff options
author | Ollie <46904826+ollie-iterators@users.noreply.github.com> | 2023-02-25 16:12:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-25 22:12:29 +0100 |
commit | 02030cf52dbbed3a8bb7c14c4d6158427635cee5 (patch) | |
tree | 5c1006b9695be3a05870070c30f55784172e068a /pylint/lint | |
parent | c785e3edb82683e50d5d370c1c4e992ebda036a0 (diff) | |
download | pylint-git-02030cf52dbbed3a8bb7c14c4d6158427635cee5.tar.gz |
Fixing some too long lines (#8339)
* Changing flake8 max-line-length to 120
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'pylint/lint')
-rw-r--r-- | pylint/lint/pylinter.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pylint/lint/pylinter.py b/pylint/lint/pylinter.py index 5b749d5b2..863076f8f 100644 --- a/pylint/lint/pylinter.py +++ b/pylint/lint/pylinter.py @@ -227,7 +227,8 @@ MSGS: dict[str, MessageDefinitionTuple] = { "E0014": ( "Out-of-place setting encountered in top level configuration-section '%s' : '%s'", "bad-configuration-section", - "Used when we detect a setting in the top level of a toml configuration that shouldn't be there.", + "Used when we detect a setting in the top level of a toml configuration that" + " shouldn't be there.", {"scope": WarningScope.LINE}, ), "E0015": ( @@ -794,7 +795,8 @@ class PyLinter( :param FileItem file: data about the file :param nodes.Module module: the ast module to lint - :param Callable check_astroid_module: callable checking an AST taking the following arguments + :param Callable check_astroid_module: callable checking an AST taking the following + arguments - ast: AST of the module :raises AstroidError: for any failures stemming from astroid """ @@ -826,10 +828,12 @@ class PyLinter( """Check a file using the passed utility functions (get_ast and check_astroid_module). - :param callable get_ast: callable returning AST from defined file taking the following arguments + :param callable get_ast: callable returning AST from defined file taking the + following arguments - filepath: path to the file to check - name: Python module name - :param callable check_astroid_module: callable checking an AST taking the following arguments + :param callable check_astroid_module: callable checking an AST taking the following + arguments - ast: AST of the module :param FileItem file: data about the file :raises AstroidError: for any failures stemming from astroid |