mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore: Update pylint to 2.17.4 (#24700)
Co-authored-by: John Bodley <john.bodley@gmail.com>
This commit is contained in:
@@ -80,11 +80,13 @@ class UIManifestProcessor:
|
||||
loaded_chunks.add(f)
|
||||
return filtered_files
|
||||
|
||||
return dict(
|
||||
js_manifest=lambda bundle: get_files(bundle, "js"),
|
||||
css_manifest=lambda bundle: get_files(bundle, "css"),
|
||||
assets_prefix=self.app.config["STATIC_ASSETS_PREFIX"] if self.app else "",
|
||||
)
|
||||
return {
|
||||
"js_manifest": lambda bundle: get_files(bundle, "js"),
|
||||
"css_manifest": lambda bundle: get_files(bundle, "css"),
|
||||
"assets_prefix": self.app.config["STATIC_ASSETS_PREFIX"]
|
||||
if self.app
|
||||
else "",
|
||||
}
|
||||
|
||||
def parse_manifest_json(self) -> None:
|
||||
try:
|
||||
|
||||
@@ -37,7 +37,7 @@ class SSHManager:
|
||||
sshtunnel.TUNNEL_TIMEOUT = app.config["SSH_TUNNEL_TIMEOUT_SEC"]
|
||||
sshtunnel.SSH_TIMEOUT = app.config["SSH_TUNNEL_PACKET_TIMEOUT_SEC"]
|
||||
|
||||
def build_sqla_url( # pylint: disable=no-self-use
|
||||
def build_sqla_url(
|
||||
self, sqlalchemy_url: str, server: sshtunnel.SSHTunnelForwarder
|
||||
) -> str:
|
||||
# override any ssh tunnel configuration object
|
||||
|
||||
Reference in New Issue
Block a user