From aeb593cffe9fb82155b7a5c3dccfadd9dd20ecf1 Mon Sep 17 00:00:00 2001 From: Nicholas Clegg Date: Fri, 19 Sep 2025 13:47:58 -0400 Subject: [PATCH] fix: Fix github workflow to use fmt instead of hatch run --- .github/workflows/test-lint.yml | 2 +- .pre-commit-config.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-lint.yml b/.github/workflows/test-lint.yml index 1d1eb8973..291874dce 100644 --- a/.github/workflows/test-lint.yml +++ b/.github/workflows/test-lint.yml @@ -90,5 +90,5 @@ jobs: - name: Run lint id: lint - run: hatch run test-lint + run: hatch fmt --linter --check continue-on-error: false diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e8584a83c..42e9f5ca0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,14 +3,14 @@ repos: hooks: - id: hatch-format name: Format code - entry: hatch run test-format + entry: hatch fmt --formatter --check language: system pass_filenames: false types: [python] stages: [pre-commit] - id: hatch-lint name: Lint code - entry: hatch run test-lint + entry: hatch fmt --linter --check language: system pass_filenames: false types: [python]