diff options
| author | Frederick Muriuki Muriithi | 2026-01-07 11:23:34 -0600 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-01-07 11:23:34 -0600 |
| commit | ddad628d96f5c42b00e2e33c83d5da179d74667a (patch) | |
| tree | 517531815b8bc4cc6d83c4222b9bdb6aa7b31a86 /gn_libs | |
| parent | 9bc82972ad971dac4eb604923b9a6df51d4411ff (diff) | |
| download | gn-libs-ddad628d96f5c42b00e2e33c83d5da179d74667a.tar.gz | |
Fix linting issues.
Diffstat (limited to 'gn_libs')
| -rw-r--r-- | gn_libs/http_logging.py | 4 | ||||
| -rw-r--r-- | 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 |
