From d100ac892352e3b63b1fe028207c72fc9a852724 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Fri, 23 Dec 2022 10:06:24 -0800 Subject: types: fix type annotations and remove novm annootations for llnl module Apparently I forgot to do this in #34305. --- lib/spack/llnl/util/tty/log.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/spack/llnl/util/tty') diff --git a/lib/spack/llnl/util/tty/log.py b/lib/spack/llnl/util/tty/log.py index 0b79dd01ac..008396dbe2 100644 --- a/lib/spack/llnl/util/tty/log.py +++ b/lib/spack/llnl/util/tty/log.py @@ -21,12 +21,12 @@ import threading import traceback from contextlib import contextmanager from threading import Thread -from types import ModuleType # novm -from typing import Optional # novm +from types import ModuleType +from typing import Optional import llnl.util.tty as tty -termios = None # type: Optional[ModuleType] +termios: Optional[ModuleType] = None try: import termios as term_mod -- cgit v1.2.3-60-g2f50