mirror of
https://github.com/apache/superset.git
synced 2026-06-08 00:59:17 +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:
@@ -136,9 +136,9 @@ class PrestoDBSQLValidator(BaseSQLValidator):
|
||||
start_column=start_column,
|
||||
end_column=end_column,
|
||||
)
|
||||
except Exception as e:
|
||||
logger.exception(f"Unexpected error running validation query: {e}")
|
||||
raise e
|
||||
except Exception as ex:
|
||||
logger.exception(f"Unexpected error running validation query: {ex}")
|
||||
raise ex
|
||||
|
||||
@classmethod
|
||||
def validate(
|
||||
|
||||
Reference in New Issue
Block a user