Skip to content

Commit

Permalink
build_parameters.py: correct unknown-escape-sequence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Jan 30, 2025
1 parent 4cf8410 commit 85cbdd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def fetch_commit_hash(version_link, board, file):
version_number = version.split(" ")[2]
vehicle = version.split(" ")[1]

regex = re.compile('[@_!#$%^&*()<>?/\|}{~:]') # noqa: W605
regex = re.compile(r'[@_!#$%^&*()<>?/\|}{~:]')

if (regex.search(vehicle) is None): # there are some non standart names
vehicle = vehicle_old_to_new_name[vehicle.strip()] # Names may not be standart as expected
Expand Down

0 comments on commit 85cbdd4

Please sign in to comment.