linting 4

This commit is contained in:
ishaan-jaff 2023-08-18 12:28:43 -07:00
parent 13cfac857e
commit beaa33ba12
2 changed files with 2 additions and 1 deletions

View file

@ -33,6 +33,7 @@ jobs:
name: Linting Testing
command: |
cd litellm
python -m pip install types-requests types-setuptools
if ! python -m mypy . --ignore-missing-imports; then
echo "mypy detected errors"
exit 1

View file

@ -50,4 +50,4 @@ try:
except:
print(f"error occurred: {traceback.format_exc()}")
pass
os.environ["OPENAI_API_KEY"] = temp_key # this fails linting#3
os.environ["OPENAI_API_KEY"] = temp_key # this fails linting#4