Skip to content

Commit

Permalink
Always use latest version of Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerYep committed Sep 30, 2024
1 parent 1a5a798 commit cc0c341
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
ci:
skip: [mypy, pytest]
repos:
- repo: local
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.8
hooks:
- id: ruff
name: ruff
entry: ruff check --fix --exit-non-zero-on-fix --force-exclude
language: python
types_or: [python, pyi]

args: [--fix]
- id: ruff-format
name: ruff-format
entry: ruff format --force-exclude
language: python
types_or: [python, pyi]

- repo: local
hooks:
- id: mypy
name: mypy
entry: mypy
Expand Down

0 comments on commit cc0c341

Please sign in to comment.