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:
@@ -32,9 +32,7 @@ def check_datasource_access(f):
|
||||
A Decorator that checks if a user has datasource access
|
||||
"""
|
||||
|
||||
def wraps(
|
||||
self, pk: int, table_name: str, schema_name: Optional[str] = None
|
||||
): # pylint: disable=invalid-name
|
||||
def wraps(self, pk: int, table_name: str, schema_name: Optional[str] = None):
|
||||
schema_name_parsed = parse_js_uri_path_item(schema_name, eval_undefined=True)
|
||||
table_name_parsed = parse_js_uri_path_item(table_name)
|
||||
if not table_name_parsed:
|
||||
|
||||
Reference in New Issue
Block a user