mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +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:
@@ -62,9 +62,9 @@ def merge_slice(slc: Slice) -> None:
|
||||
|
||||
|
||||
def get_slice_json(defaults: Dict[Any, Any], **kwargs: Any) -> str:
|
||||
d = defaults.copy()
|
||||
d.update(kwargs)
|
||||
return json.dumps(d, indent=4, sort_keys=True)
|
||||
defaults_copy = defaults.copy()
|
||||
defaults_copy.update(kwargs)
|
||||
return json.dumps(defaults_copy, indent=4, sort_keys=True)
|
||||
|
||||
|
||||
def get_example_data(
|
||||
|
||||
Reference in New Issue
Block a user