Skip to content

Commit

Permalink
Refresh pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ndevenish committed Jan 16, 2025
1 parent 15f61cc commit 8ef179d
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
repos:
ci:
autoupdate_schedule: quarterly

# Automatic source code formatting
- repo: https://github.com/psf/black
rev: 23.9.1
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.2
hooks:
- id: black
args: [--safe, --quiet]
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
- id: ruff-format

# Syntax check and some basic
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: check-ast

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.291
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]

0 comments on commit 8ef179d

Please sign in to comment.