From 247380767725abdfac3fb2fda0d3de3609d41065 Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Fri, 26 Jul 2024 22:27:41 +0200 Subject: [PATCH] chore: Fix broken `typos` command in `make pre-commit` for py-polars folder (#17897) --- .github/workflows/lint-global.yml | 2 +- _typos.toml => .typos.toml | 0 py-polars/Makefile | 2 +- py-polars/requirements-lint.txt | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename _typos.toml => .typos.toml (100%) diff --git a/.github/workflows/lint-global.yml b/.github/workflows/lint-global.yml index e1066b0e650f..ed1cf6c3419c 100644 --- a/.github/workflows/lint-global.yml +++ b/.github/workflows/lint-global.yml @@ -15,4 +15,4 @@ jobs: - name: Lint Markdown and TOML uses: dprint/check@v2.2 - name: Spell Check with Typos - uses: crate-ci/typos@v1.22.9 + uses: crate-ci/typos@v1.23.5 diff --git a/_typos.toml b/.typos.toml similarity index 100% rename from _typos.toml rename to .typos.toml diff --git a/py-polars/Makefile b/py-polars/Makefile index ed9d95041e5b..7e273b14914c 100644 --- a/py-polars/Makefile +++ b/py-polars/Makefile @@ -67,7 +67,7 @@ lint: .venv ## Run lint checks (only) fmt: .venv ## Run autoformatting (and lint) $(VENV_BIN)/ruff check $(VENV_BIN)/ruff format - $(VENV_BIN)/typos + $(VENV_BIN)/typos .. cargo fmt --all -dprint fmt -$(VENV_BIN)/mypy diff --git a/py-polars/requirements-lint.txt b/py-polars/requirements-lint.txt index 367ed176b8d2..122374998a22 100644 --- a/py-polars/requirements-lint.txt +++ b/py-polars/requirements-lint.txt @@ -1,3 +1,3 @@ mypy==1.10.1 ruff==0.5.0 -typos==1.22.9 +typos==1.23.5