mirror of
https://github.com/mgeeky/decode-spam-headers.git
synced 2026-02-22 13:33:30 +01:00
MAESTRO: fix linting and formatting
This commit is contained in:
@@ -114,9 +114,7 @@ class Logger:
|
||||
colored = colorizingFunc(c, txt)
|
||||
|
||||
if not colored:
|
||||
raise ValueError(
|
||||
f"Could not strip colors from phrase: ({patt})!"
|
||||
)
|
||||
raise ValueError(f"Could not strip colors from phrase: ({patt})!")
|
||||
|
||||
s = s.replace(patt, colored)
|
||||
pos = 0
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
"""Scanner implementations grouped by vendor or function."""
|
||||
|
||||
|
||||
@@ -189,7 +189,7 @@ def _normalize_payload(payload: object) -> tuple[str, str, str, str] | None:
|
||||
|
||||
|
||||
def _combine_payloads(
|
||||
payloads: list[tuple[str, str, str, str]]
|
||||
payloads: list[tuple[str, str, str, str]],
|
||||
) -> tuple[str, str, str, str]:
|
||||
headers: list[str] = []
|
||||
values: list[str] = []
|
||||
|
||||
Reference in New Issue
Block a user