Skip to content

Commit

Permalink
Pylint: Ignore two new attr. name complains
Browse files Browse the repository at this point in the history
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 <cevich@redhat.com>
  • Loading branch information
cevich committed Oct 18, 2023
1 parent 0a50f6b commit 514c0c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions podman/api/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 2 additions & 0 deletions podman/api/uds.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 514c0c5

Please sign in to comment.