Removed a bunch of unused import symbols detected by pyright. (#5060)

Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
Eric Traut
2021-02-23 11:46:46 -07:00
committed by GitHub
parent 507ca60ff8
commit c7c025ae08
9 changed files with 10 additions and 21 deletions

View File

@@ -1,4 +1,3 @@
import sys
from hashlib import _Hash
from typing import Any, ClassVar, Dict, Generic, Optional, Set, TypeVar, Union
@@ -6,20 +5,11 @@ from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.asymmetric.ec import (
EllipticCurvePrivateKey,
EllipticCurvePrivateKeyWithSerialization,
EllipticCurvePrivateNumbers,
EllipticCurvePublicKey,
EllipticCurvePublicKeyWithSerialization,
EllipticCurvePublicNumbers,
)
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey, Ed25519PublicKey
from cryptography.hazmat.primitives.asymmetric.rsa import (
RSAPrivateKey,
RSAPrivateKeyWithSerialization,
RSAPrivateNumbers,
RSAPublicKey,
RSAPublicKeyWithSerialization,
RSAPublicNumbers,
)
from cryptography.hazmat.primitives.asymmetric.rsa import RSAPrivateKey, RSAPublicKey
from cryptography.hazmat.primitives.asymmetric.utils import Prehashed
from cryptography.hazmat.primitives.hashes import HashAlgorithm