Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -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."
Expand Down
Loading