Skip to content

Commit

Permalink
Fix pre-commit mypy issues (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder authored Jan 16, 2024
1 parent fb624bd commit fbf1db6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ markers = ["flaky", "network"]

[tool.mypy]
# Docs: https://mypy.readthedocs.io/en/stable/config_file.html
python_version = 3.10
python_version = "3.10"
check_untyped_defs = true
ignore_missing_imports = true
warn_unused_ignores = true
Expand Down
2 changes: 1 addition & 1 deletion xcdat/temporal.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ def departures(
# The original time dimension name is restored after grouped
# arithmetic, so the labeled time dimension name is no longer needed
# and therefore dropped.
ds_obs = ds_obs.drop_vars(self._labeled_time.name)
ds_obs = ds_obs.drop_vars(str(self._labeled_time.name))

if weighted and keep_weights:
self._weights = ds_climo.time_wts
Expand Down

0 comments on commit fbf1db6

Please sign in to comment.