From 02c5c13a6ec8772ed6b898a8ed49e6013b9b4215 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Mon, 21 Aug 2023 03:20:54 -0400 Subject: [PATCH] Fast linters go first (#9501) Proposal to reverse the order of linters based on the principle of running the fast ones first. --- libs/langchain/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/langchain/Makefile b/libs/langchain/Makefile index 46a9ca63efb..c4cd64cd85a 100644 --- a/libs/langchain/Makefile +++ b/libs/langchain/Makefile @@ -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 lint_diff: - poetry run mypy $(PYTHON_FILES) - poetry run black $(PYTHON_FILES) --check poetry run ruff . + poetry run black $(PYTHON_FILES) --check + poetry run mypy $(PYTHON_FILES) format format_diff: poetry run black $(PYTHON_FILES)