Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Python syntax #1149

Merged
merged 2 commits into from
Mar 15, 2024
Merged

Conversation

rleh
Copy link
Member

@rleh rleh commented Mar 14, 2024

Since Python 3.6 backslash-character pairs that are not valid escape sequences are deprecated and generate a SyntaxWarning: invalid escape sequence warning. This is fixed by using raw string.

The same problem is also fixed in modm-devices submodule, see modm-io/modm-devices#109.

Since Python 3.6 backslash-character pairs that are not valid escape sequences are deprecated and generate a 'SyntaxWarning: invalid escape sequence' warning.
This is fixed by using raw string.
Copy link
Member

@salkinium salkinium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@chris-durand chris-durand merged commit c43be03 into modm-io:develop Mar 15, 2024
12 checks passed
@rleh rleh deleted the fix/python_re_rawstring branch March 16, 2024 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants