From a19cd08ca095d4b256b7dc5ddd73e9e9a7e28d8a Mon Sep 17 00:00:00 2001 From: Akshay Agrawal Date: Mon, 6 May 2024 09:37:18 -0700 Subject: [PATCH] Run typos checks in makefile (#1318) * run typos in fe-lint, py-test * run typos -w in py-check --- Makefile | 4 ++-- scripts/pyfix.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2ef20e43c2..0ccd6fb00c 100644 --- a/Makefile +++ b/Makefile @@ -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: @@ -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 diff --git a/scripts/pyfix.sh b/scripts/pyfix.sh index 20d0317a82..d3c3902b62 100755 --- a/scripts/pyfix.sh +++ b/scripts/pyfix.sh @@ -1,5 +1,7 @@ #!/bin/sh +echo "[fix: typos]" +cd marimo && typos -w && cd - echo "[fix: copyright]" ./scripts/pycopyright.sh echo "[fix: ruff]"