mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
test#3 linting
This commit is contained in:
parent
973a7c2676
commit
13cfac857e
2 changed files with 1 additions and 2 deletions
|
@ -33,7 +33,6 @@ jobs:
|
||||||
name: Linting Testing
|
name: Linting Testing
|
||||||
command: |
|
command: |
|
||||||
cd litellm
|
cd litellm
|
||||||
python -m mypy . --install-types
|
|
||||||
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#2
|
os.environ["OPENAI_API_KEY"] = temp_key # this fails linting#3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue