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

chore(python): Use Pathlib everywhere #9914

Merged
merged 5 commits into from
Jul 16, 2023
Merged

Conversation

zundertj
Copy link
Collaborator

@zundertj zundertj commented Jul 15, 2023

We have a mix of os.path and Pathlib in our code base. The latter is more ergonomic (see write_text/bytes, etc) and also in use as part of our API. Enabled a Ruff rule to guide us going forward.

zundertj added 2 commits July 15, 2023 21:03
We have been using a mix of os.path and Pathlib in our code base. The latter is more ergonomic (see write_text/bytes, etc) and also in use as part of our API. Enabled a Ruff rule to guide us going forward.
@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars labels Jul 15, 2023
Copy link
Member

@ritchie46 ritchie46 left a comment

Choose a reason for hiding this comment

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

Good one!

@ritchie46 ritchie46 merged commit da4df4f into pola-rs:main Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants