From ec0cdc718aef1f46e457f1c9194dd9079f8b4ff1 Mon Sep 17 00:00:00 2001 From: John Davis Date: Wed, 16 Nov 2022 19:54:38 -0500 Subject: [PATCH] Fix implicit reexport error for selenium lib/galaxy/selenium/smart_components.py:1: error: Module "selenium.webdriver.support.ui" does not explicitly export attribute "Select"; implicit reexport disabled [attr-defined] from selenium.webdriver.support.ui import Select ^ lib/galaxy/selenium/sizzle.py:6: error: Module "selenium.webdriver.support.ui" does not explicitly export attribute "WebDriverWait"; implicit reexport disabled [attr-defined] from selenium.webdriver.support.ui import WebDriverWait --- mypy.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mypy.ini b/mypy.ini index bbefdbab609..4df64f6629d 100644 --- a/mypy.ini +++ b/mypy.ini @@ -7,6 +7,10 @@ pretty = True no_implicit_reexport = True no_implicit_optional = True +# overrides for external code +[mypy-selenium.webdriver.support.ui] +no_implicit_reexport = False + # green list - work on growing these please! [mypy-galaxy.util.compression_utils] disallow_any_generics = True