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
utils.py: update file not found exception message (#425)
* utils.py: update file not found exception message
Previous message implies the file is found but the contents are not valid. Especially when referring to a YAML file.
This adds a clearer message and specifies where the code has looked for the file.
* utils.py: read_file - change argument name
Clearer argument name and use of path object
* repository.py: param signature change
Downstream method changed signature:
file_name --> file_path
* Update test_yaml.py
Fix test_missing_file after error message change
* Update test_yaml.py
Use correct variable name
* ruff formatting
* utils.py: read_file - use parent instead of cwd
* Update test_yaml.py
Update incorrect encoding test after read_file method changes.
* ruff formatting
0 commit comments