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

Use f-strings on constants for better readability #260

Merged
merged 5 commits into from
Oct 9, 2024

Conversation

blaisewf
Copy link
Contributor

@blaisewf blaisewf commented Oct 2, 2024

It's not a very significant change, but I think it makes it easier to read/modify the url more easily

@rany2
Copy link
Owner

rany2 commented Oct 7, 2024

Please fix CI by create a base URL constant and using that for both voice list and websocket URL. This way you won't hit the maximum characters/line limit.

Copy link
Owner

@rany2 rany2 left a comment

Choose a reason for hiding this comment

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

Required because WSS uses the wss:// scheme instead.

src/edge_tts/constants.py Outdated Show resolved Hide resolved
src/edge_tts/constants.py Outdated Show resolved Hide resolved
@rany2 rany2 merged commit 209269e into rany2:master Oct 9, 2024
2 checks passed
@rany2
Copy link
Owner

rany2 commented Oct 9, 2024

Thanks!

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.

4 participants