Skip to content

Commit

Permalink
lint commands
Browse files Browse the repository at this point in the history
  • Loading branch information
baskaryan committed Dec 13, 2023
1 parent a9da112 commit 25f19ea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libs/partners/google-genai/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ tests:

# Define a variable for Python and notebook files.
PYTHON_FILES=.
MYPY_CACHE=.mypy_cache
lint format: PYTHON_FILES=.
lint_diff format_diff: PYTHON_FILES=$(shell git diff --name-only --diff-filter=d master | grep -E '\.py$$|\.ipynb$$')
lint_package: PYTHON_FILES=langchain_community
lint_tests: PYTHON_FILES=tests
lint_tests: MYPY_CACHE=.mypy_cache_test

lint lint_diff:
lint lint_diff lint_package lint_tests:
./scripts/check_pydantic.sh .
./scripts/lint_imports.sh
poetry run ruff .
Expand Down

0 comments on commit 25f19ea

Please sign in to comment.