about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-01-07 11:23:34 -0600
committerFrederick Muriuki Muriithi2026-01-07 11:23:34 -0600
commitddad628d96f5c42b00e2e33c83d5da179d74667a (patch)
tree517531815b8bc4cc6d83c4222b9bdb6aa7b31a86
parent9bc82972ad971dac4eb604923b9a6df51d4411ff (diff)
downloadgn-libs-ddad628d96f5c42b00e2e33c83d5da179d74667a.tar.gz
Fix linting issues.
-rw-r--r--gn_libs/http_logging.py4
-rw-r--r--gn_libs/logging.py1
2 files changed, 3 insertions, 2 deletions
diff --git a/gn_libs/http_logging.py b/gn_libs/http_logging.py
index 79660a8..c65e0a4 100644
--- a/gn_libs/http_logging.py
+++ b/gn_libs/http_logging.py
@@ -38,7 +38,7 @@ class SilentHTTPHandler(logging.Handler):
             # fire-and-forget
             self._send(payload)
 
-        except Exception:
+        except Exception:# pylint: disable=[broad-exception-caught]
             # absolute silence
             pass
 
@@ -52,5 +52,5 @@ class SilentHTTPHandler(logging.Handler):
             )
             with urllib.request.urlopen(req, timeout=5) as resp:
                 resp.read()  # ignore body
-        except Exception:
+        except Exception:# pylint: disable=[broad-exception-caught]
             pass
diff --git a/gn_libs/logging.py b/gn_libs/logging.py
index 29852e8..952d30f 100644
--- a/gn_libs/logging.py
+++ b/gn_libs/logging.py
@@ -1,3 +1,4 @@
+"""Generalised setup for logging for Genenetwork systems."""
 import os
 import logging