diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fea0549d..b5bbaded 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/setup-python@v5 - uses: pre-commit/action@v3.0.1 with: - extra_args: --all-files --show-diff-on-failure + extra_args: --all-files tests: name: Run tests and generate coverage report diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 19dc1151..9548a31d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,8 +3,8 @@ repos: # Ruff version. rev: v0.4.10 hooks: - # Run the linter. - - id: ruff - args: ["--fix"] + - id: ruff # just check the code, and print the errors + - id: ruff # actually fix the fixable errors, but print nothing + args: ["--fix", "--silent"] # Run the formatter. - - id: ruff-format + - id: ruff-format \ No newline at end of file