Skip to content

Fix FloatConvertor regex#1973

Merged
Kludex merged 4 commits intomasterfrom
patch-2
Dec 3, 2022
Merged

Fix FloatConvertor regex#1973
Kludex merged 4 commits intomasterfrom
patch-2

Conversation

@Kludex
Copy link
Copy Markdown
Owner

@Kludex Kludex commented Dec 3, 2022

i-Ching and others added 2 commits November 14, 2022 10:45
For passing your checks of #1942
A correct statement is: regex = r"[0-9]+(\.[0-9]+)?"
Reference: https://www.flake8rules.com/rules/W605.html

I have no problem to corrected without 'r' prefix directly at /site-packages/starlette/convertors.py of my computer.
Having submitted last pull-request, I realized to add a 'r' prefix to pass your tests.
@Kludex Kludex changed the title Bugfix of regex at FloatConvertor (version 2) Fix FloatConvertor regex Dec 3, 2022
@Kludex Kludex requested a review from a team December 3, 2022 07:32
@Kludex Kludex added this to the Version 0.23.0 milestone Dec 3, 2022
@Kludex Kludex mentioned this pull request Dec 3, 2022
1 task
@Kludex Kludex merged commit 865efeb into master Dec 3, 2022
@Kludex Kludex deleted the patch-2 branch December 3, 2022 11:16
aminalaee pushed a commit that referenced this pull request Feb 13, 2023
* Bugfix of regex at FloatConvertor (version 2)

For passing your checks of #1942
A correct statement is: regex = r"[0-9]+(\.[0-9]+)?"
Reference: https://www.flake8rules.com/rules/W605.html

I have no problem to corrected without 'r' prefix directly at /site-packages/starlette/convertors.py of my computer.
Having submitted last pull-request, I realized to add a 'r' prefix to pass your tests.

* Add test

Co-authored-by: Ching <[email protected]>
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.

3 participants