diff options
author | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2017-12-17 21:31:50 +0100 |
---|---|---|
committer | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2017-12-17 21:31:50 +0100 |
commit | f51beb183c9d83a248a04cca9f2c85b0c07e50a7 (patch) | |
tree | 6f5cd398505565613df9d47c979690eeff66942f | |
parent | 18223912fc4f13a707f1f3fa8f50927e9a0a22a2 (diff) | |
download | ranger-f51beb183c9d83a248a04cca9f2c85b0c07e50a7.tar.gz |
Pylint & Flake8: Add a local rule exception
Somehow "too-many-locals" was not failing before, probably because Pylint got updated. The list of Pylint exceptions made the line too long for Flake8 so this check was disabled too for this line.
-rwxr-xr-x | ranger/ext/rifle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py index 023ff1ba..a6c0b9f0 100755 --- a/ranger/ext/rifle.py +++ b/ranger/ext/rifle.py @@ -296,7 +296,7 @@ class Rifle(object): # pylint: disable=too-many-instance-attributes count = self._skip yield (count, cmd, self._app_label, self._app_flags) - def execute(self, files, # pylint: disable=too-many-branches,too-many-statements + def execute(self, files, # noqa: E501 pylint: disable=too-many-branches,too-many-statements,too-many-locals number=0, label=None, flags="", mimetype=None): """Executes the given list of files. |