Skip to content

Commit 4923e8c

Browse files
committed
Run black
1 parent e02cad5 commit 4923e8c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

sslyze/plugins/scan_commands.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
class ScanCommand:
5555
"""The list of all scan commands supported by SSLyze.
5656
"""
57+
5758
CERTIFICATE_INFO: Literal["certificate_info"] = "certificate_info"
5859

5960
SSL_2_0_CIPHER_SUITES: Literal["ssl_2_0_cipher_suites"] = "ssl_2_0_cipher_suites"

sslyze/scanner.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class ScanCommandErrorReasonEnum(Enum):
4040
class ScanCommandError:
4141
"""An error that prevented a specific scan command ran against a specific server from completing.
4242
."""
43+
4344
reason: ScanCommandErrorReasonEnum
4445
exception_trace: TracebackException
4546

@@ -54,6 +55,7 @@ class ScanCommandExtraArgumentsDict(TypedDict, total=False):
5455
class ServerScanRequest:
5556
"""A request to scan a specific server with the supplied scan commands.
5657
"""
58+
5759
server_info: ServerConnectivityInfo
5860
scan_commands: Set[ScanCommandType]
5961
scan_commands_extra_arguments: ScanCommandExtraArgumentsDict = field(default_factory=dict) # type: ignore
@@ -73,6 +75,7 @@ def __post_init__(self) -> None:
7375
class ScanCommandResultsDict(TypedDict, total=False):
7476
"""A dictionary of results for every scan command that was scheduled against a specific server.
7577
"""
78+
7679
# Field is present if the corresponding scan command was scheduled and was run successfully
7780
certificate_info: CertificateInfoScanResult
7881
ssl_2_0_cipher_suites: CipherSuitesScanResult
@@ -100,6 +103,7 @@ class ScanCommandResultsDict(TypedDict, total=False):
100103
class ServerScanResult:
101104
"""The result of a ServerScanRequest that was completed by a Scanner.
102105
"""
106+
103107
scan_commands_results: ScanCommandResultsDict
104108
scan_commands_errors: ScanCommandErrorsDict
105109

0 commit comments

Comments
 (0)