Skip to content

Commit

Permalink
Bump ruff version
Browse files Browse the repository at this point in the history
  • Loading branch information
zerolab committed Jun 18, 2024
1 parent d35f38c commit 4c968d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- run: python -Im pip install --user ruff
# keep in sync with .pre-commit-config.yaml
- run: python -Im pip install --user ruff==0.4.9

- name: Run ruff
working-directory: ./src
Expand Down
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ default_language_version:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -17,7 +17,8 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.3.0'
# keep in sync with .github/workflows/ruff.yml
rev: 'v0.4.9'
hooks:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]
Expand Down

0 comments on commit 4c968d9

Please sign in to comment.