[tor-commits] [sbws/maint-1.1] fix: v3bwfile: linter error with new flake version
juga at torproject.org
juga at torproject.org
Mon Jun 29 07:49:11 UTC 2020
commit ce0449a2efa4e341abb2bb985972423f878f0ef6
Author: juga0 <juga at riseup.net>
Date: Wed May 20 15:39:46 2020 +0000
fix: v3bwfile: linter error with new flake version
---
sbws/lib/bwfile_health.py | 2 ++
sbws/lib/v3bwfile.py | 2 ++
2 files changed, 4 insertions(+)
diff --git a/sbws/lib/bwfile_health.py b/sbws/lib/bwfile_health.py
index 793e08e..95d37ee 100644
--- a/sbws/lib/bwfile_health.py
+++ b/sbws/lib/bwfile_health.py
@@ -1,4 +1,6 @@
"""Expected bandwidth file values for KeyValues."""
+# flake8: noqa: E741
+# (E741 ambiguous variable name), when using l.
import logging
from stem import descriptor
diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index a585bb7..071dc94 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -1,6 +1,8 @@
# -*- coding: utf-8 -*-
"""Classes and functions that create the bandwidth measurements document
(v3bw) used by bandwidth authorities."""
+# flake8: noqa: E741
+# (E741 ambiguous variable name), when using l.
import copy
import logging
More information about the tor-commits
mailing list