From 514c0c54aeffab3f0ddec195743b1ad673680351 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Wed, 18 Oct 2023 10:29:30 -0400 Subject: [PATCH] Pylint: Ignore two new attr. name complains I don't know this codebase, nor is that likely important. These attribute names are referenced in who-knows how many places and pylint has never complained before now. Just ignore it. Signed-off-by: Chris Evich --- podman/api/ssh.py | 2 ++ podman/api/uds.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/podman/api/ssh.py b/podman/api/ssh.py index 8eb51153..f789551e 100644 --- a/podman/api/ssh.py +++ b/podman/api/ssh.py @@ -202,6 +202,8 @@ def connect(self) -> None: class SSHConnectionPool(urllib3.HTTPConnectionPool): """Specialized HTTPConnectionPool for holding SSH connections.""" + # pylint complains if attributes aren't all caps. Nobody will ever fix this. + # pylint: disable=invalid-name ConnectionCls = SSHConnection diff --git a/podman/api/uds.py b/podman/api/uds.py index 9d87d5db..8195a0e9 100644 --- a/podman/api/uds.py +++ b/podman/api/uds.py @@ -89,6 +89,8 @@ def connect(self) -> None: class UDSConnectionPool(urllib3.HTTPConnectionPool): """Specialization of HTTPConnectionPool for holding UNIX domain sockets.""" + # pylint complains if attributes aren't all caps. Nobody will ever fix this. + # pylint: disable=invalid-name ConnectionCls = UDSConnection