about summary refs log tree commit diff stats
path: root/ranger/ext/rifle.py
diff options
context:
space:
mode:
authorWojciech Siewierski <wojciech.siewierski@onet.pl>2017-12-17 21:31:50 +0100
committerWojciech Siewierski <wojciech.siewierski@onet.pl>2017-12-17 21:31:50 +0100
commitf51beb183c9d83a248a04cca9f2c85b0c07e50a7 (patch)
tree6f5cd398505565613df9d47c979690eeff66942f /ranger/ext/rifle.py
parent18223912fc4f13a707f1f3fa8f50927e9a0a22a2 (diff)
downloadranger-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.
Diffstat (limited to 'ranger/ext/rifle.py')
-rwxr-xr-xranger/ext/rifle.py2
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.