mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
pylint: accept specific 2 character names by default (#9460)
* lint: accept 2 letter names by default * Address review comments * Remove e and d from good-names
This commit is contained in:
@@ -64,9 +64,9 @@ class DruidEngineSpec(BaseEngineSpec): # pylint: disable=abstract-method
|
||||
"""
|
||||
try:
|
||||
extra = json.loads(database.extra or "{}")
|
||||
except json.JSONDecodeError as e:
|
||||
logger.error(e)
|
||||
raise e
|
||||
except json.JSONDecodeError as ex:
|
||||
logger.error(ex)
|
||||
raise ex
|
||||
|
||||
if database.server_cert:
|
||||
engine_params = extra.get("engine_params", {})
|
||||
|
||||
Reference in New Issue
Block a user