From 4c96135b6c11bd4c19a1f1124e91c52feb31bb6d Mon Sep 17 00:00:00 2001 From: John Davis Date: Mon, 28 Nov 2022 10:35:15 -0500 Subject: [PATCH] Fix reexport error (selenium) by direct import --- lib/galaxy/selenium/smart_components.py | 2 +- mypy.ini | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/galaxy/selenium/smart_components.py b/lib/galaxy/selenium/smart_components.py index 3f1d3d17fca..3f25f7d4a11 100644 --- a/lib/galaxy/selenium/smart_components.py +++ b/lib/galaxy/selenium/smart_components.py @@ -1,4 +1,4 @@ -from selenium.webdriver.support.ui import Select +from selenium.webdriver.support.select import Select from galaxy.navigation.components import ( Component, diff --git a/mypy.ini b/mypy.ini index 4df64f6629d..bbefdbab609 100644 --- a/mypy.ini +++ b/mypy.ini @@ -7,10 +7,6 @@ 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