diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-08-28 18:01:41 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-09-08 20:15:56 +0200 |
commit | ce042f318e56f94afca7b92364728e02d068b30e (patch) | |
tree | 4952d3ee4f40a33772edc01888a4cd5a2d812ee9 /mesonbuild/mlog.py | |
parent | ff28f3fa34bcaaeaf487e752dc371f4ea5f1cfc2 (diff) | |
download | meson-ce042f318e56f94afca7b92364728e02d068b30e.zip meson-ce042f318e56f94afca7b92364728e02d068b30e.tar.gz meson-ce042f318e56f94afca7b92364728e02d068b30e.tar.bz2 |
typing: Add run_mypy.py for easier mypy invocation
Diffstat (limited to 'mesonbuild/mlog.py')
-rw-r--r-- | mesonbuild/mlog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mlog.py b/mesonbuild/mlog.py index 9c19427..f8707b6 100644 --- a/mesonbuild/mlog.py +++ b/mesonbuild/mlog.py @@ -56,7 +56,7 @@ def colorize_console() -> bool: sys.stdout.colorize_console = _colorize_console # type: ignore[attr-defined] return _colorize_console -def setup_console(): +def setup_console() -> None: # on Windows, a subprocess might call SetConsoleMode() on the console # connected to stdout and turn off ANSI escape processing. Call this after # running a subprocess to ensure we turn it on again. |