From 0a311b6f2dcd14282dccc6a3851b942a423a9426 Mon Sep 17 00:00:00 2001 From: "Nathaniel J. Smith" Date: Mon, 21 Nov 2022 01:23:23 -0800 Subject: [PATCH 1/2] colorama: re-export just_fix_windows_console at top level Added here: https://github.com/tartley/colorama/pull/352 Re-export can be seen here: https://github.com/tartley/colorama/blob/21c4b94fe21ce29c85c896ace828da24b7527641/colorama/__init__.py#L2 I don't know why all the exports are "X as X" instead of just "X", but I followed the same style for consistency. --- stubs/colorama/colorama/__init__.pyi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/stubs/colorama/colorama/__init__.pyi b/stubs/colorama/colorama/__init__.pyi index 1fc778d8a8ea..b2c84e05f924 100644 --- a/stubs/colorama/colorama/__init__.pyi +++ b/stubs/colorama/colorama/__init__.pyi @@ -1,3 +1,9 @@ from .ansi import Back as Back, Cursor as Cursor, Fore as Fore, Style as Style from .ansitowin32 import AnsiToWin32 as AnsiToWin32 -from .initialise import colorama_text as colorama_text, deinit as deinit, init as init, reinit as reinit +from .initialise import ( + colorama_text as colorama_text, + deinit as deinit, + init as init, + reinit as reinit, + just_fix_windows_console as just_fix_windows_console, +) From ff1902fbe4fbf58e1ef9108491091f0a3c737db3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Nov 2022 09:27:15 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks --- stubs/colorama/colorama/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/colorama/colorama/__init__.pyi b/stubs/colorama/colorama/__init__.pyi index b2c84e05f924..e6d15ec71ddb 100644 --- a/stubs/colorama/colorama/__init__.pyi +++ b/stubs/colorama/colorama/__init__.pyi @@ -4,6 +4,6 @@ from .initialise import ( colorama_text as colorama_text, deinit as deinit, init as init, - reinit as reinit, just_fix_windows_console as just_fix_windows_console, + reinit as reinit, )