Skip to content

Commit

Permalink
Fix linting job
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Dec 2, 2024
1 parent d9284f5 commit 57cbe51
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion python/ribasim/ribasim/migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def edgeschema_migration(gdf: GeoDataFrame, schema_version: int) -> GeoDataFrame
gdf.set_index("edge_id", inplace=True)
if "subnetwork_id" in gdf.columns and schema_version == 0:
warnings.warn("Migrating outdated Edge table.", UserWarning)
gdf.drop(columns="subnetwork_id", inplace = True, errors = "ignore")
gdf.drop(columns="subnetwork_id", inplace=True, errors="ignore")

return gdf

Expand Down
1 change: 0 additions & 1 deletion python/ribasim/ribasim/model.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import datetime
import logging
import shutil
import warnings
from collections.abc import Generator
from os import PathLike
from pathlib import Path
Expand Down

0 comments on commit 57cbe51

Please sign in to comment.