Skip to content

Commit

Permalink
Upgrade pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lmignon committed Jan 8, 2025
1 parent 634cf50 commit 3512838
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,26 @@ default_language_version:
python: python3
repos:
- repo: https://github.com/psf/black
rev: 24.8.0
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.6.4
rev: v0.8.6
hooks:
- id: ruff
args:
- --fix
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
- repo: local
hooks:
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/myint/docformatter
rev: v1.7.5
hooks:
- id: docformatter
args: ["--in-place", "--wrap-summaries=88"]
- id: docformatter
name: docformatter
description: Formats docstrings to follow PEP 257.
entry: python -Im docformatter
additional_dependencies:
- docformatter == 1.7.5
args:
- --in-place
- --wrap-summaries=88
language: python
types:
- python

0 comments on commit 3512838

Please sign in to comment.