Skip to content

Commit 85f7057

Browse files
ignore W605 invalid escape sequence '\/'
present in original code
1 parent f83c75c commit 85f7057

File tree

1 file changed

+1
-1
lines changed
  • lambdas/icaseworks_api_ingestion

1 file changed

+1
-1
lines changed

lambdas/icaseworks_api_ingestion/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
def remove_illegal_characters(string):
2424
"""Removes illegal characters from string"""
25-
regex_list = [["=", ""], ["\/", "_"], ["+", "-"]]
25+
regex_list = [["=", ""], ["\/", "_"], ["+", "-"]] # noqa: W605
2626
for r in regex_list:
2727
string = re.sub(string=string, pattern="[{}]".format(r[0]), repl=r[1])
2828
return string

0 commit comments

Comments
 (0)