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: corrections for deprecation warnings #505

Merged
merged 1 commit into from Oct 7, 2022
Merged

fix: corrections for deprecation warnings #505

merged 1 commit into from Oct 7, 2022

Conversation

danodonovan
Copy link
Contributor

Strings in semantic_version.history are causing DeprecationWarning: invalid escape sequence warnings. This PR corrects these warnings by using raw strings.

semantic_release/history/__init__.py:29
semantic-release/semantic_release/history/__init__.py:29: DeprecationWarning: invalid escape sequence \.
    return f"-{config.get('prerelease_tag')}\.\d+"

-- Docs: https://docs.pytest.org/en/latest/warnings.html

@danth danth merged commit d47afb6 into python-semantic-release:master Oct 7, 2022
@danodonovan danodonovan deleted the fix-invalid-escape-sequence-deprecation branch October 7, 2022 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants