mirror of
https://github.com/apache/superset.git
synced 2026-08-12 11:11:01 +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:
@@ -37,8 +37,8 @@ def stats_timing(stats_key, stats_logger):
|
||||
start_ts = now_as_float()
|
||||
try:
|
||||
yield start_ts
|
||||
except Exception as e:
|
||||
raise e
|
||||
except Exception as ex:
|
||||
raise ex
|
||||
finally:
|
||||
stats_logger.timing(stats_key, now_as_float() - start_ts)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user