Skip to content

refactor: use Path objects instead of strings #5142

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rilnicki
Copy link
Contributor

Don't convert Paths to Paths.
Simplify code and take advantage of Path object methods.

@rilnicki
Copy link
Contributor Author

@terriko what do you think?

@rilnicki
Copy link
Contributor Author

@terriko I forgot to run longer tests locally and had to change some things afterwards.

@rilnicki rilnicki force-pushed the use-path-objects branch 2 times, most recently from 0108084 to 1fd509e Compare June 13, 2025 17:18
@rilnicki
Copy link
Contributor Author

I missed one str/Path in one of the test files. It should pass now - three times a charm :)

Don't convert Paths to Paths.
Simplify code and take advantage of Path object methods.

Signed-off-by: Rafal Ilnicki <[email protected]>
@rilnicki
Copy link
Contributor Author

I added more small changes in tests which seem to not run on CI.

@rilnicki
Copy link
Contributor Author

@terriko everything has passed except one unrelated test like the last time, maybe we should change/fix it in another PR?

@terriko
Copy link
Contributor

terriko commented Jun 16, 2025

Pretty sure the last test was fixed with #4929 so it can be ignored!

@rilnicki
Copy link
Contributor Author

Great news! Shall I update my branch and then rerun CI?

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