Fix: Use FileNotFoundError for file not found in main.py#558
Fix: Use FileNotFoundError for file not found in main.py#558creepereye1204 wants to merge 5 commits intotheskumar:mainfrom
Conversation
Replaced IOError with FileNotFoundError on line 320 of main.py to use a more specific and appropriate exception for file not found errors.
Replaced IOError with FileNotFoundError on line 320 of main.py to use a more specific and appropriate exception for file not found errors.
Remove the quote_mode parameter from the unset_key function in main.py. This parameter was identified as unused within the function body and has been removed to simplify the signature.
|
Title: Refactor: Improve error handling and remove unused parameter in Description: This pull request introduces two refactoring changes to
|
Replaced IOError with FileNotFoundError on line 320 of main.py to use a more specific and appropriate exception for file not found errors.
Fix: Use FileNotFoundError for file not found in main.py
|
This looks good to me but I would like to update the test |
Replaced IOError with FileNotFoundError on line 320 of main.py to use a more specific and appropriate exception for file not found errors.