diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2016-11-04 18:03:08 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2016-11-04 18:03:21 +0000 |
commit | e37c8171519425caf3861c5e20922ea42998ea70 (patch) | |
tree | e7f0d05de7c11c9afbc62d312ba14a620c923f77 /deluge/log.py | |
parent | af6b277d2887412bac7f4e8e9e70bb5f417a3f54 (diff) | |
download | deluge-e37c8171519425caf3861c5e20922ea42998ea70.tar.gz deluge-e37c8171519425caf3861c5e20922ea42998ea70.tar.bz2 deluge-e37c8171519425caf3861c5e20922ea42998ea70.zip |
[Lint] Refactor flake8 noqa's and add msg numbers
From pep8-naming:
* N802: function name should be lowercase
* N803: argument name should be lowercase
Diffstat (limited to 'deluge/log.py')
-rw-r--r-- | deluge/log.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'): |