Skip to content

Commit

Permalink
Fix type hint for new mypy version (#2497)
Browse files Browse the repository at this point in the history
  • Loading branch information
schlunma authored Jul 31, 2024
1 parent 56e1203 commit e084850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esmvalcore/_recipe/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def _check_literal(
*,
step: str,
option: str,
allowed_values: tuple[str],
allowed_values: tuple[None | str, ...],
) -> None:
"""Check that an option for a preprocessor has a valid value."""
if step not in settings:
Expand Down

0 comments on commit e084850

Please sign in to comment.