(filename: str, nb_secrets: int)
return "\n{} {} {} been found in file {}\n".format(
        ICON_BY_OS.get(os.name, ICON_BY_OS["default"]),
        format_text(str(nb_secrets), STYLE["nb_secrets"]),
        pluralize("incident has", nb_secrets, "incidents have"),
        format_text(filename, STYLE["filename"]),
    )
Return the formatted file info (number of secrets + filename).
Return the formatted file info (number of secrets + filename).
Return the formatted file info ( number of secrets + filename ) .
def file_info(filename: str, nb_secrets: int) -> str:
    """Return the formatted file info (number of secrets + filename)."""
    return "\n{} {} {} been found in file {}\n".format(
        ICON_BY_OS.get(os.name, ICON_BY_OS["default"]),
        format_text(str(nb_secrets), STYLE["nb_secrets"]),
        pluralize("incident has", nb_secrets, "incidents have"),
        format_text(filename, STYLE["filename"]),
    )
def file_info ( filename : str , nb_secrets : int ) -> str : return "\n{} {} {} been found in file {}\n" . format ( ICON_BY_OS . get ( os . name , ICON_BY_OS [ "default" ] ) , format_text ( str ( nb_secrets ) , STYLE [ "nb_secrets" ] ) , pluralize ( "incident has" , nb_secrets , "incidents have" ) , format_text ( filename , STYLE [ "filename" ] ) , )