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:
parent
8ddab95ac4
commit
8d88fc3059
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
|
@ -197,6 +197,9 @@ format: ## run code formatters
|
||||||
@uv run ruff format .
|
@uv run ruff format .
|
||||||
@cd src/frontend && npm run format
|
@cd src/frontend && npm run format
|
||||||
|
|
||||||
|
unsafe_fix:
|
||||||
|
@uv run ruff check . --fix --unsafe-fixes
|
||||||
|
|
||||||
lint: install_backend ## run linters
|
lint: install_backend ## run linters
|
||||||
@uv run mypy --namespace-packages -p "langflow"
|
@uv run mypy --namespace-packages -p "langflow"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue