black format

pull/2302/head
bohendo 9 months ago
parent df4154d3ed
commit bb68df0818
No known key found for this signature in database
  1. 4
      slither/tools/mutator/__main__.py
  2. 4
      slither/tools/mutator/utils/testing_generated_mutant.py

@ -381,7 +381,9 @@ def main() -> (None): # pylint: disable=too-many-statements,too-many-branches,t
else: else:
elapsed_string = f"{seconds} {'second' if seconds == 1 else 'seconds'}" 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 # endregion

@ -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 tests fail in verbose-mode, print both stdout and stderr for easier debugging
if verbose: if verbose:
logger.info(yellow(result.stdout.decode('utf-8'))) logger.info(yellow(result.stdout.decode("utf-8")))
logger.info(red(result.stderr.decode('utf-8'))) logger.info(red(result.stderr.decode("utf-8")))
return False return False

Loading…
Cancel
Save