Skip to content

Commit

Permalink
updated QA workflow to check for formating
Browse files Browse the repository at this point in the history
  • Loading branch information
shtayeb committed Dec 18, 2024
1 parent 5300ae6 commit 804a6da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/quality_assurance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
run: |
make test
- name: Formating and Linting check with ruff
uses: astral-sh/ruff-action@v2
with:
args: check --output-format=github
src: "./src"
run: |
ruff check --output-format=github ./src
ruff format --check
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@ serve:
vite:
cd src/static && npm run dev

.PHONY: ruff-watch
ruff-watch:
ruff check ./src --watch

.PHONY: dev
dev:
make -j3 serve vite
make -j3 serve vite ruff-watch

.PHONY: vite-host
vite-host:
Expand Down

0 comments on commit 804a6da

Please sign in to comment.