mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
mypy tweaks (#10490)
* Move mypy.ini to litellm folder because that's where GH Actions runs mypy * Add annotation-unchecked to disable_error_code so we don't get a zillion of these warnings when running mypy: ``` note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] ```
This commit is contained in:
parent
132bdb1380
commit
c3d4c9706d
1 changed files with 3 additions and 1 deletions
|
|
@ -3,7 +3,9 @@ warn_return_any = False
|
|||
ignore_missing_imports = True
|
||||
mypy_path = litellm/stubs
|
||||
namespace_packages = True
|
||||
disable_error_code = valid-type
|
||||
disable_error_code =
|
||||
valid-type,
|
||||
annotation-unchecked
|
||||
|
||||
[mypy-google.*]
|
||||
ignore_missing_imports = True
|
||||
Loading…
Add table
Reference in a new issue