Skip to content

Commit 7a1cac0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3e4e51d commit 7a1cac0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/parcels/_core/utils/string.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from keyword import iskeyword, kwlist
22

3+
34
def _assert_str_and_python_varname(name):
45
if not isinstance(name, str):
56
raise TypeError(f"Expected a string for variable name, got {type(name).__name__} instead.")

0 commit comments

Comments
 (0)