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

Consolidation on use of pathlib module for filesystem operations, rather than pathlib & os.path #271

Open
charles-turner-1 opened this issue Nov 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@charles-turner-1
Copy link
Collaborator

Currently, this package uses both pathlib.Path operations & os.path.join in a lot of places, with usage of both in plenty of files.

Pathlib has been the preferred way of doing things since Python 3.4 , and so we should think about moving over to using pathlib where possible.

Low priority.

@marc-white
Copy link
Collaborator

Also noting that a lot of functions either quietly expect a directory string, or a Path object, but will fail if the other is given. This should be consolidated to be a Path object everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants