A community-maintained Python framework for creating mathematical animations.
Reformat for black Stop testing for this branch.
Aathish7fe73f02ee2c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 47f7b531f..9889a4fff 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -3,7 +3,6 @@ on:push:branches:- master- - extend_subcmdspull_request:branches:- masterdiff --git a/manim/logger.py b/manim/logger.pyindex 8c7636b21..69219525e 100644--- a/manim/logger.py+++ b/manim/logger.py@@ -85,7 +85,7 @@ logging.basicConfig(level="NOTSET",format="%(message)s",datefmt="[%X]",- handlers=[RichHandler(console=console,show_time=themedict["log.timestamps"])],+ handlers=[RichHandler(console=console, show_time=themedict["log.timestamps"])],)logger = logging.getLogger("rich")diff --git a/manim/utils/cfg_subcmds.py b/manim/utils/cfg_subcmds.pyindex 8f14df25b..6c26820a6 100644--- a/manim/utils/cfg_subcmds.py+++ b/manim/utils/cfg_subcmds.py@@ -22,7 +22,7 @@ __all__ = ["write", "show", "export"]RICH_COLOUR_INSTRUCTIONS = """[red]The default colour is used by the input statement.If left empty, the default colour will be used.[/red][magenta] For a full list of styles, visit[/magenta] [green]https://rich.readthedocs.io/en/latest/style.html[/green]"""-RICH_NON_STYLE_ENTRIES = ["log.width", "log.height","log.timestamps"]+RICH_NON_STYLE_ENTRIES = ["log.width", "log.height", "log.timestamps"]console = Console()@@ -182,7 +182,7 @@ To save your config please save that file and place it in your current working ddef show():current_config = finalized_configs_dict()- rich_non_style_entries = [a.replace(".","_") for a in RICH_NON_STYLE_ENTRIES]+ rich_non_style_entries = [a.replace(".", "_") for a in RICH_NON_STYLE_ENTRIES]for category in current_config:console.print(f"{category}", style="bold green underline")for entry in current_config[category]: