forked from phoenix/litellm-mirror
refactor(all-files): removing all print statements; adding pre-commit + flake8 to prevent future regressions
This commit is contained in:
parent
38ff9f2b6f
commit
6b40546e59
9 changed files with 39 additions and 50 deletions
8
.pre-commit-config.yaml
Normal file
8
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
repos:
|
||||
- repo: https://github.com/pycqa/flake8
|
||||
rev: 3.8.4 # The version of flake8 to use
|
||||
hooks:
|
||||
- id: flake8
|
||||
exclude: ^litellm/tests/|^litellm/proxy/|^litellm/integrations/
|
||||
additional_dependencies: [flake8-print]
|
||||
files: litellm/.*\.py
|
Loading…
Add table
Add a link
Reference in a new issue