(chore) linting fixes

This commit is contained in:
ishaan-jaff 2023-11-15 17:25:06 -08:00
parent bba0a2dcf7
commit 8aea256a53
2 changed files with 4 additions and 4 deletions

View file

@ -53,8 +53,8 @@ def load_router_config(router: Optional[litellm.Router], config_file_path: Optio
config = {}
server_settings = {}
try:
if os.path.exists(config_file_path):
with open(config_file_path, 'r') as file:
if os.path.exists(config_file_path): # type: ignore
with open(config_file_path, 'r') as file: # type: ignore
config = yaml.safe_load(file)
else:
pass