From bb68df081883dd2bc8a5e34dcb1782f6ceaf6749 Mon Sep 17 00:00:00 2001 From: bohendo Date: Fri, 16 Feb 2024 17:52:03 -0500 Subject: [PATCH] black format --- slither/tools/mutator/__main__.py | 4 +++- slither/tools/mutator/utils/testing_generated_mutant.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/slither/tools/mutator/__main__.py b/slither/tools/mutator/__main__.py index 67602f99a..5e5efba00 100644 --- a/slither/tools/mutator/__main__.py +++ b/slither/tools/mutator/__main__.py @@ -381,7 +381,9 @@ def main() -> (None): # pylint: disable=too-many-statements,too-many-branches,t else: elapsed_string = f"{seconds} {'second' if seconds == 1 else 'seconds'}" - logger.info(blue(f"Finished mutation testing assessment of '{args.codebase}' in {elapsed_string}\n")) + logger.info( + blue(f"Finished mutation testing assessment of '{args.codebase}' in {elapsed_string}\n") + ) # endregion diff --git a/slither/tools/mutator/utils/testing_generated_mutant.py b/slither/tools/mutator/utils/testing_generated_mutant.py index 09094df08..d790f0f9e 100644 --- a/slither/tools/mutator/utils/testing_generated_mutant.py +++ b/slither/tools/mutator/utils/testing_generated_mutant.py @@ -69,8 +69,8 @@ def run_test_cmd(cmd: str, timeout: int | None, target_file: str | None, verbose # If tests fail in verbose-mode, print both stdout and stderr for easier debugging if verbose: - logger.info(yellow(result.stdout.decode('utf-8'))) - logger.info(red(result.stderr.decode('utf-8'))) + logger.info(yellow(result.stdout.decode("utf-8"))) + logger.info(red(result.stderr.decode("utf-8"))) return False