From ddad628d96f5c42b00e2e33c83d5da179d74667a Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 7 Jan 2026 11:23:34 -0600 Subject: Fix linting issues. --- gn_libs/http_logging.py | 4 ++-- gn_libs/logging.py | 1 + 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 -- cgit 1.4.1