chore: Add 'unsafe_fix' target to Makefile (#4081)

Add 'unsafe_fix' target to Makefile for applying unsafe fixes with ruff
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-10-09 11:37:26 -03:00 committed by GitHub
commit 8d88fc3059
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"