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

Unify all file handling with pathlib #512

Merged
merged 3 commits into from
Dec 23, 2024

Conversation

vedithal-amd
Copy link
Contributor

@vedithal-amd vedithal-amd commented Dec 17, 2024

  • Replace occurences of os.path functions with equivalent functions from
    pathlib library

  • Remove unwanted imports of os.path and os

  • Add coding guidelines for using pathlib instead of os.path

@vedithal-amd vedithal-amd changed the title SWDEV-502580: Unify all file handling with pathlib Unify all file handling with pathlib Dec 17, 2024
Copy link
Contributor

@feizheng10 feizheng10 left a comment

Choose a reason for hiding this comment

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

LGTM.
Please make sure CI passed and local simple test passed.

Copy link
Collaborator

@coleramos425 coleramos425 left a comment

Choose a reason for hiding this comment

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

LGTM

@coleramos425
Copy link
Collaborator

@vedithal-amd once we fix the merge conflict we can squash and merge.

* Replace occurences of os.path functions with equivalent functions from
  pathlib library

* Remove unwanted imports of os.path and os
* Use pathlib library functions instead of os.path for file path
  manipulation
@vedithal-amd
Copy link
Contributor Author

@coleramos425 I have fixed the merge conflict, once the CI has passed we can merge it

@vedithal-amd vedithal-amd merged commit ea7d663 into ROCm:amd-staging Dec 23, 2024
4 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.

3 participants