From 8d88fc3059f25bccc1f3c2b03bc634bcefbe100a Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Wed, 9 Oct 2024 11:37:26 -0300 Subject: [PATCH] chore: Add 'unsafe_fix' target to Makefile (#4081) Add 'unsafe_fix' target to Makefile for applying unsafe fixes with ruff --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 6f9667a1d..e67557f8e 100644 --- a/Makefile +++ b/Makefile @@ -197,6 +197,9 @@ format: ## run code formatters @uv run ruff format . @cd src/frontend && npm run format +unsafe_fix: + @uv run ruff check . --fix --unsafe-fixes + lint: install_backend ## run linters @uv run mypy --namespace-packages -p "langflow"