Skip to content

Commit

Permalink
simplify hooks specification (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
quintenroets committed Apr 9, 2024
1 parent 9547b8d commit cc88283
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@ repos:
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- repo: https://github.com/psf/black
rev: 24.3.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/quintenroets/package-dev-tools
rev: v0.5.17
Expand All @@ -34,8 +31,6 @@ repos:
files: '\.py'
fail_fast: true
require_serial: true
- repo: local
hooks:
- id: run-tests
name: run-tests
entry: coverage run
Expand All @@ -47,16 +42,11 @@ repos:
rev: v0.5.17
hooks:
- id: check-coverage
- repo: https://github.com/quintenroets/package-dev-tools
rev: v0.5.17
hooks:
- id: check-shields
- repo: https://github.com/quintenroets/package-dev-tools
rev: v0.5.17
hooks:
- id: check-version

ci:
autofix_commit_msg: auto fixes from pre-commit hooks
autoupdate_commit_msg: 'pre-commit auto updates'
autoupdate_schedule: monthly
skip: [mypy, run-tests, check-coverage]

0 comments on commit cc88283

Please sign in to comment.