We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60fde3b commit 656ee5bCopy full SHA for 656ee5b
1 file changed
.pre-commit-config.yaml
@@ -42,18 +42,20 @@ repos:
42
args: [--py38-plus]
43
44
# python docstring formatting
45
- - repo: https://github.com/myint/docformatter
46
- rev: v1.7.5
+ # address runtime issue: https://github.com/PyCQA/docformatter/pull/287
+ - repo: local
47
hooks:
48
- id: docformatter
49
+ name: docformatter
50
+ description: Formats docstrings to follow PEP 257.
51
+ entry: python -Im docformatter
52
+ additional_dependencies:
53
+ - docformatter == 1.7.5
54
args:
- [
- --in-place,
- --wrap-summaries=99,
- --wrap-descriptions=99,
- --style=sphinx,
55
- --black,
56
- ]
+ - --in-place
+ language: python
57
+ types:
58
+ - python
59
60
# python docstring coverage checking
61
- repo: https://github.com/econchick/interrogate
0 commit comments