Skip to content

Commit

Permalink
fix: use none as default arg to split (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv authored Aug 9, 2024
1 parent 79c13e7 commit 0917a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rattler_build_conda_compat/jinja/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ def _bool(value: str) -> bool:
return bool(value)


def _split(s: str, sep: str = " ") -> list[str]:
def _split(s: str, sep: str | None = None) -> list[str]:
"""Filter that split a string by a separator"""
return s.split(sep)

0 comments on commit 0917a5b

Please sign in to comment.