mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-02 09:40:26 +00:00
Fast linters go first (#9501)
Proposal to reverse the order of linters based on the principle of running the fast ones first.
This commit is contained in:
parent
fdbeb52756
commit
02c5c13a6e
@ -76,9 +76,9 @@ lint format: PYTHON_FILES=.
|
|||||||
lint_diff format_diff: PYTHON_FILES=$(shell git diff --relative=libs/langchain --name-only --diff-filter=d master | grep -E '\.py$$|\.ipynb$$')
|
lint_diff format_diff: PYTHON_FILES=$(shell git diff --relative=libs/langchain --name-only --diff-filter=d master | grep -E '\.py$$|\.ipynb$$')
|
||||||
|
|
||||||
lint lint_diff:
|
lint lint_diff:
|
||||||
poetry run mypy $(PYTHON_FILES)
|
|
||||||
poetry run black $(PYTHON_FILES) --check
|
|
||||||
poetry run ruff .
|
poetry run ruff .
|
||||||
|
poetry run black $(PYTHON_FILES) --check
|
||||||
|
poetry run mypy $(PYTHON_FILES)
|
||||||
|
|
||||||
format format_diff:
|
format format_diff:
|
||||||
poetry run black $(PYTHON_FILES)
|
poetry run black $(PYTHON_FILES)
|
||||||
|
Loading…
Reference in New Issue
Block a user