diff --git a/pylint/pyreverse/main.py b/pylint/pyreverse/main.py index 38317b266f..54289a8309 100644 --- a/pylint/pyreverse/main.py +++ b/pylint/pyreverse/main.py @@ -234,9 +234,9 @@ "group": OPTIONS_GROUPS["OUTPUT"], "help": ( "Create a *. output file if format is available. Available " - f"formats are: {', '.join(["." + format for format in DIRECTLY_SUPPORTED_FORMATS])}. Any other " - f"format will be tried to be created by using the 'dot' command line " - f"tool, which requires a graphviz installation. In this case, these additional " + f"formats are: {', '.join('.' + fmt for fmt in DIRECTLY_SUPPORTED_FORMATS)}. Any other " + "format will be tried to be created by using the 'dot' command line " + "tool, which requires a graphviz installation. In this case, these additional " "formats are available (see `Graphviz output formats `_)." ), },