forked from phoenix/litellm-mirror
linting 4
This commit is contained in:
parent
13cfac857e
commit
beaa33ba12
2 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@ jobs:
|
||||||
name: Linting Testing
|
name: Linting Testing
|
||||||
command: |
|
command: |
|
||||||
cd litellm
|
cd litellm
|
||||||
|
python -m pip install types-requests types-setuptools
|
||||||
if ! python -m mypy . --ignore-missing-imports; then
|
if ! python -m mypy . --ignore-missing-imports; then
|
||||||
echo "mypy detected errors"
|
echo "mypy detected errors"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -50,4 +50,4 @@ try:
|
||||||
except:
|
except:
|
||||||
print(f"error occurred: {traceback.format_exc()}")
|
print(f"error occurred: {traceback.format_exc()}")
|
||||||
pass
|
pass
|
||||||
os.environ["OPENAI_API_KEY"] = temp_key # this fails linting#3
|
os.environ["OPENAI_API_KEY"] = temp_key # this fails linting#4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue