Lint suppression cleanups (#47248)
* Unused pylint suppression cleanups * Remove outdated pylint bug references * Add flake8-noqa config and note to run it every now and then * Add codes to noqa's * Unused noqa cleanups
This commit is contained in:
parent
38a2f196b8
commit
dc880118a4
217 changed files with 237 additions and 306 deletions
|
@ -19,8 +19,7 @@ def get_cert(host, port):
|
|||
address = (host, port)
|
||||
with socket.create_connection(address, timeout=TIMEOUT) as sock:
|
||||
with ctx.wrap_socket(sock, server_hostname=address[0]) as ssock:
|
||||
# pylint disable: https://github.com/PyCQA/pylint/issues/3166
|
||||
cert = ssock.getpeercert() # pylint: disable=no-member
|
||||
cert = ssock.getpeercert()
|
||||
return cert
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue