You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
* Removed lots of mocks from tests where not needed.
* Replaced lots of call to os module with pathlib (#271)
Co-authored-by: Marc White <[email protected]>
---------
Co-authored-by: Marc White <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.
The text was updated successfully, but these errors were encountered: