diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0b3c0fc3..9112718a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,9 +15,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install ruff tox - - name: Format check using Ruff - run: ruff format --check + pip install tox - name: Run lint run: tox env: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5b889e02..d7efe996 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,3 +26,4 @@ repos: hooks: - id: ruff - id: ruff-format + args: [ --check ]