diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index d9555c1..54d5412 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -34,7 +34,7 @@ jobs: python -m pip install '.[test]' - name: Lint with ruff run: | - ruff . + ruff --check . - name: Check types with mypy run: | mypy huber diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7cc9632..ad171b3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,4 +13,4 @@ repos: rev: v0.7.3 hooks: - id: ruff - args: [--fix, --exit-non-zero-on-fix] + args: [--check, --fix, --exit-non-zero-on-fix]