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]