Skip to content

feat(strutils): add human_readable_list function to format lists of strings#388

Merged
mahmoud merged 4 commits intomahmoud:masterfrom
gtkacz:322-human_readable_list
Dec 30, 2025
Merged

feat(strutils): add human_readable_list function to format lists of strings#388
mahmoud merged 4 commits intomahmoud:masterfrom
gtkacz:322-human_readable_list

Conversation

@gtkacz
Copy link
Contributor

@gtkacz gtkacz commented Sep 28, 2025

Also formatted the imports according to PEP 8.

Closes #322.

@mahmoud
Copy link
Owner

mahmoud commented Oct 2, 2025

Hey there! Love the idea, love that oxford is True by default, but looks like there's a syntax error?

@gtkacz
Copy link
Contributor Author

gtkacz commented Oct 2, 2025

My bad, I was using f-strings as first class objects, but that was only introduced in PEP 701 for Python 3.12. Pushing the fix now

@mahmoud mahmoud marked this pull request as draft December 30, 2025 17:57
@mahmoud mahmoud marked this pull request as ready for review December 30, 2025 17:57
@mahmoud mahmoud merged commit ce7c7d2 into mahmoud:master Dec 30, 2025
11 checks passed
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.

Function to format a list with commas and a final 'and'/'or'

2 participants

Comments