chore: Add pyproject.toml configuration to ruff format command in Makefile (#4714)

* Add pyproject.toml config flag to ruff commands in Makefile

* Update ruff exclude path in pyproject.toml

* Remove unused TYPE_CHECKING import from api_key.py

* Remove redundant config flag from 'ruff check' command in Makefile
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-11-19 16:06:01 -03:00 • committed by GitHub
commit fb83af224a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 6 deletions

View file

@ -181,7 +181,7 @@ fix_codespell: ## run codespell to fix spelling errors
format: ## run code formatters
@uv run ruff check . --fix
@uv run ruff format .
@uv run ruff format . --config pyproject.toml
@cd src/frontend && npm run format
unsafe_fix: