mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(pylint): Enable useless-suppression check (#16388)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -116,7 +116,7 @@ class ValidateDatabaseParametersCommand(BaseCommand):
|
||||
try:
|
||||
with closing(engine.raw_connection()) as conn:
|
||||
alive = engine.dialect.do_ping(conn)
|
||||
except Exception as ex: # pylint: disable=broad-except
|
||||
except Exception as ex:
|
||||
url = make_url(sqlalchemy_uri)
|
||||
context = {
|
||||
"hostname": url.host,
|
||||
|
||||
Reference in New Issue
Block a user