Skip to content

Commit

Permalink
Fix a string that should be raw
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfouca committed Feb 7, 2024
1 parent 24ff828 commit 206eece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CIME/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def check_name(fullname, additional_chars=None, fullpath=False):
False
"""

chars = "+*?<>/{}[\]~`@:" # pylint: disable=anomalous-backslash-in-string
chars = r"+*?<>/{}[\]~`@:"
if additional_chars is not None:
chars += additional_chars
if fullname.endswith("/"):
Expand Down

0 comments on commit 206eece

Please sign in to comment.