Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/execution/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def _parse_history_parameters(parameters_text):

parameters = {}
for line in parameters_text.splitlines(keepends=True):
match = re.fullmatch('([\w_]+):(.*\r?\n)', line)
match = re.fullmatch(r'([\w_]+):(.*\r?\n)', line)
if not match:
current_value += line
continue
Expand Down
2 changes: 1 addition & 1 deletion src/migrations/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def __migrate_repeat_param_and_same_arg_param(context):


def _write_json(file_path, json_object, old_content):
space_matches = re.findall('^\s+', old_content, flags=re.MULTILINE)
space_matches = re.findall(r'^\s+', old_content, flags=re.MULTILINE)
if space_matches:
indent_string = space_matches[0].replace('\t', ' ')
indent = min(len(indent_string), 8)
Expand Down