diff --git a/build_parameters.py b/build_parameters.py index 656dc3a319..290b7c7d4b 100644 --- a/build_parameters.py +++ b/build_parameters.py @@ -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