Skip to content

refactor: use pathlib instead of os.path #224

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

Merged
merged 7 commits into from
Feb 24, 2024
Merged

Conversation

vitorhcl
Copy link
Member

pathlib provides a much cleaner spearation between strings and paths, leaves "/" operator for joining paths and also provides some builtin methods, improving the code readabilty and mantainability.

Copy link
Contributor

@JacobCallahan JacobCallahan left a comment

Choose a reason for hiding this comment

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

love pathlib!

@kbdharun kbdharun requested a review from acuteenvy January 16, 2024 14:03
@kbdharun
Copy link
Member

Interestingly, this is failing CI for older versions of Python.

@vitorhcl vitorhcl requested a review from kbdharun February 23, 2024 11:43
@kbdharun kbdharun removed the request for review from acuteenvy February 24, 2024 15:54
@kbdharun kbdharun merged commit 68acf05 into tldr-pages:main Feb 24, 2024
@kbdharun kbdharun added this to the 3.3.0 milestone Jun 28, 2024
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