From a0020de2503bef26020a88fe1ddbabc5f5825623 Mon Sep 17 00:00:00 2001 From: Andrew Kay Date: Mon, 7 Oct 2024 18:50:29 -0500 Subject: [PATCH] Disable VT100Session used before assignment lint error --- oec/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/oec/__main__.py b/oec/__main__.py index 41ec35d..9a03138 100644 --- a/oec/__main__.py +++ b/oec/__main__.py @@ -79,6 +79,7 @@ def _create_session(args, device): if args.emulator == 'vt100' and IS_VT100_AVAILABLE: host_command = [args.command, *args.command_args] + # pylint: disable-next=possibly-used-before-assignment return VT100Session(device, host_command) raise ValueError('Unsupported emulator')