| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
This commit contains squashed changes by juan-cobos - Began to refactor pathlib for os - Fixed filename replacement with Path - Remove output_path, stick to dest_folder for compatibility - refactored find_analyzed_data from auxiliaryfunctions - removed accidental import - match previous msg improving readibility - Fixed underscore name - remove comments and make scorer str for safety - fixed paths when weights are provided - address copilot and deruyter changes - remove scorer str conversion - find_analyzed_data using .glob - fixed Path + str when using tmpfolder - return True if videooutname already created, same as above logic
There was a problem hiding this comment.
Looks good ! Thanks
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Replacement PR for #3170
Motivation (as phrased by @juan-cobos in the original PR):
Path handling is currently inconsistent (strings vs Path objects, mixed os.path and pathlib), making code hard to follow. This also causes subtle bugs (e.g., scorer.replace() on a Path attempts filesystem operations instead of string replacement). Standardizing on pathlib.Path would help to make older code consistent with newer parts of the codebase.
Changes:
Standardize on pathlib.Path internally with proper type hints in the following files: