From e37c8171519425caf3861c5e20922ea42998ea70 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 4 Nov 2016 18:03:08 +0000 Subject: [Lint] Refactor flake8 noqa's and add msg numbers From pep8-naming: * N802: function name should be lowercase * N803: argument name should be lowercase --- deluge/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deluge/log.py') diff --git a/deluge/log.py b/deluge/log.py index 5f088f88a..aa532a0f6 100644 --- a/deluge/log.py +++ b/deluge/log.py @@ -81,7 +81,7 @@ class Logging(LoggingLoggerClass): def exception(self, msg, *args, **kwargs): yield LoggingLoggerClass.exception(self, msg, *args, **kwargs) - def findCaller(self): # NOQA + def findCaller(self): # NOQA: N802 f = logging.currentframe().f_back rv = '(unknown file)', 0, '(unknown function)' while hasattr(f, 'f_code'): -- cgit