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 authored and thedoubl3j committed Oct 10, 2024
1 parent f26c8a5 commit 84f4014
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 84f4014

Please sign in to comment.