From 2a92c247321adce516ab426cb689046e8d881e81 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Wed, 17 Dec 2025 18:20:54 +0100 Subject: [PATCH] Add pixi typecript check --- .pre-commit-config.yaml | 7 +++++++ pixi.lock | 2 +- pyproject.toml | 5 +++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 43da871..d4f54c3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,6 +51,13 @@ repos: entry: pixi run check-biome language: system types_or: [javascript, jsx, ts, tsx, json] + - id: pixi-typescript + name: Run typescript checks through pixi + entry: pixi run check-typescript + language: system + types_or: [ts, tsx] + pass_filenames: false + require_serial: true - id: pixi-ruff name: Run ruff check through pixi entry: pixi run check-ruff diff --git a/pixi.lock b/pixi.lock index 8d20e59..851b6b6 100644 --- a/pixi.lock +++ b/pixi.lock @@ -2701,7 +2701,7 @@ packages: - pypi: ./ name: arbalister version: 0.1.0 - sha256: 3173db325467de56d1c311749ceec1fa1e50196d0cdd0a6bb5d201ee2ed9c8c7 + sha256: a1f42efbf6272708625799dc46319718f38394ec4debf303d46ffd726395bed2 requires_dist: - adbc-driver-manager - adbc-driver-sqlite diff --git a/pyproject.toml b/pyproject.toml index 8d9dafc..146e15e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -187,6 +187,10 @@ description = "Check Python typing with MyPy." cmd = "biome check --write --error-on-warnings" description = "Check JS/TS/CSS code with biome." +[tool.pixi.feature.test.tasks.check-typescript] +cmd = "npx --no tsc --noEmit" +description = "Check TS code with typescript." + [tool.pixi.feature.test.tasks.check-typos] cmd = "typos --write-changes" description = "Check for English typos with typos." @@ -196,6 +200,7 @@ depends-on = [ { task = "check-ruff" }, { task = "check-mypy" }, { task = "check-biome" }, + { task = "check-typescript" }, { task = "check-typos" }, ] description = "Run all code checks."