Skip to content

Commit

Permalink
chore: ruff lint fix [2025-01-05]
Browse files Browse the repository at this point in the history
  • Loading branch information
CHRISCARLON committed Jan 5, 2025
1 parent 7313ad7 commit e9f2af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HerdingCats/data_loader/data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def _create_duckdb_table(self, conn: duckdb.DuckDBPyConnection, df: pd.DataFrame
@validate_inputs
def duckdb_data_loader(self, resource_data: List, table_name: str, sheet_name: Optional[str] = None) -> duckdb.DuckDBPyConnection:
"""Load resource data into an in-memory DuckDB database via pandas."""
if not resource_data is None:
if resource_data is not None:
raise ValueError("Must be a list")

if not isinstance(table_name, str) or not table_name.strip():
Expand Down

0 comments on commit e9f2af1

Please sign in to comment.