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
|
@ -23,7 +23,7 @@ def server_context_modern() -> ssl.SSLContext:
|
|||
https://wiki.mozilla.org/Security/Server_Side_TLS
|
||||
Modern guidelines are followed.
|
||||
"""
|
||||
context = ssl.SSLContext(ssl.PROTOCOL_TLS) # pylint: disable=no-member
|
||||
context = ssl.SSLContext(ssl.PROTOCOL_TLS)
|
||||
|
||||
context.options |= (
|
||||
ssl.OP_NO_SSLv2
|
||||
|
@ -53,7 +53,7 @@ def server_context_intermediate() -> ssl.SSLContext:
|
|||
https://wiki.mozilla.org/Security/Server_Side_TLS
|
||||
Intermediate guidelines are followed.
|
||||
"""
|
||||
context = ssl.SSLContext(ssl.PROTOCOL_TLS) # pylint: disable=no-member
|
||||
context = ssl.SSLContext(ssl.PROTOCOL_TLS)
|
||||
|
||||
context.options |= (
|
||||
ssl.OP_NO_SSLv2 | ssl.OP_NO_SSLv3 | ssl.OP_CIPHER_SERVER_PREFERENCE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue