diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index a6901ab..7e47f25 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -14,8 +14,10 @@ jobs: steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - - run: python -Im pip install --user ruff==0.5.4 + - run: python -Im pip install --user ruff==0.8.2 - name: Run ruff working-directory: ./src diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 65070f0..42a44fa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,11 +3,11 @@ ci: autoupdate_schedule: 'quarterly' default_language_version: - python: python3.11 + python: python3.13 repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -19,7 +19,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.5.4' + rev: 'v0.8.2' # keep in sync with .github/workflows/ruff.yml hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix]