Skip to content

Commit

Permalink
Run typos checks in makefile (#1318)
Browse files Browse the repository at this point in the history
* run typos in fe-lint, py-test

* run typos -w in py-check
  • Loading branch information
akshayka committed May 6, 2024
1 parent 2edd846 commit a19cd08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ e2e:

.PHONY: fe-lint
fe-lint:
cd frontend; pnpm lint:fix
cd frontend/src && typos && cd - && cd frontend && pnpm lint:fix

.PHONY: fe-typecheck
fe-typecheck:
Expand All @@ -65,7 +65,7 @@ py-check:
.PHONY: py-test
# test python
py-test:
pytest
cd marimo && typos && cd - && pytest;

.PHONY: py-snapshots
# update html snapshots
Expand Down
2 changes: 2 additions & 0 deletions scripts/pyfix.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

echo "[fix: typos]"
cd marimo && typos -w && cd -
echo "[fix: copyright]"
./scripts/pycopyright.sh
echo "[fix: ruff]"
Expand Down

0 comments on commit a19cd08

Please sign in to comment.