Skip to content

Commit

Permalink
last few lints
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Apr 23, 2024
1 parent cb1a7c1 commit 28be9be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@

def get_git_sha() -> str:
try:
s = subprocess.check_output(["git", "rev-parse", "HEAD"])
return s.decode().strip()
except Exception:
output = subprocess.check_output(["git", "rev-parse", "HEAD"])
return output.decode().strip()
except Exception: # pylint: disable=broad-except
return ""


Expand Down
2 changes: 1 addition & 1 deletion superset/db_engine_specs/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ def normalize_indexes(cls, indexes: list[dict[str, Any]]) -> list[dict[str, Any]
return indexes

@classmethod
def get_extra_table_metadata( # pylint: disable=unused-argument
def get_extra_table_metadata(
cls,
database: Database,
table: Table,
Expand Down

0 comments on commit 28be9be

Please sign in to comment.