chore(lint): update ruff commands to exclude tests during linting and formatting

This commit is contained in:
2026-01-02 20:35:20 -06:00
parent 51d705ffa4
commit 1b7ad1cf61

View File

@@ -63,8 +63,8 @@ tasks:
lint-python: lint-python:
desc: Lint Python code using ruff desc: Lint Python code using ruff
cmds: cmds:
- poetry run ruff check . - poetry run ruff check . --exclude tests
- poetry run ruff format --check . - poetry run ruff format --check . --exclude tests
lint-frontend: lint-frontend:
desc: Lint frontend code desc: Lint frontend code
@@ -213,8 +213,8 @@ tasks:
fix: fix:
desc: Format and fix linting issues (Python and frontend) desc: Format and fix linting issues (Python and frontend)
cmds: cmds:
- poetry run ruff format ./ - poetry run ruff format ./ --exclude tests
- poetry run ruff check --fix ./ - poetry run ruff check --fix ./ --exclude tests
- "{{.NPM}} run format" - "{{.NPM}} run format"
- "{{.NPM}} run lint:fix" - "{{.NPM}} run lint:fix"