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

Update players.py to incorporate accent neutral search #488

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mxufc29
Copy link

@mxufc29 mxufc29 commented Dec 5, 2024

Submitted in response to issue 484 - #484

Incorporated accent neutral searching for _find_players(regex_pattern, row_id, players=players) via addition of the _strip_accents(inputstr: str) function.
Unit testing/test cases included in main. The results and test cases then outputted to console for review.
This is my first pull request! So let me know if there is anything else I can do or if anything is unclear.

accent neutral/normalization search function
@rsforbes
Copy link
Collaborator

@mxufc29 - Please move the unit test into tests/unit. The project uses pytest. file name should be test_players.py. Other than that, all looks good. Let me know when you've made the update. Thanks!

@mxufc29
Copy link
Author

mxufc29 commented Dec 14, 2024

@rsforbes ok got it, thanks! Just separated and moved the unit test into that location, tests/unit/test_players.py, so should be good to go. let me know if any other issues!

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.

2 participants