Where appropriate, all file paths are now handled as pathlib.Path objects, rather than just strings. In addition to just being best practice, this carries the following advantages:
Easier validation that the provided files actually exist
Files can be provided either as filenames alongside the --input-dir flag, or as relative paths, or as absolute paths.
In theory, the package should now be Windows compatible? I have not tested this. At the very least, there are no longer any forward slashes hard-coded in!
Where appropriate, all file paths are now handled as
pathlib.Path
objects, rather than just strings. In addition to just being best practice, this carries the following advantages:--input-dir
flag, or as relative paths, or as absolute paths.