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:
Ville Brofeldt
2020-04-08 20:32:26 +03:00
committed by GitHub
parent 4485800e21
commit 980dd2fd41
72 changed files with 421 additions and 431 deletions

View File

@@ -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(