Skip to content

Commit

Permalink
🧪 Replace docformatter repo with PyPI install
Browse files Browse the repository at this point in the history
This is necessary since it uses outdated config format for pre-commit.

Refs:
* PyCQA/docformatter#287
* PyCQA/docformatter#289
  • Loading branch information
webknjaz committed Oct 9, 2024
1 parent fc44b24 commit e11a1db
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,19 @@ repos:
args:
- --honor-noqa

- repo: https://github.com/PyCQA/docformatter.git
rev: v1.7.5
- repo: local
hooks:
- id: docformatter
name: docformatter
description: Formats docstrings to follow PEP 257.
entry: python -Im docformatter
additional_dependencies:
- docformatter == 1.7.5
args:
- --in-place
language: python
types:
- python

- repo: https://github.com/hhatto/autopep8.git
rev: v2.3.1
Expand Down

0 comments on commit e11a1db

Please sign in to comment.