-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-hooks.yaml
More file actions
26 lines (24 loc) · 813 Bytes
/
.pre-commit-hooks.yaml
File metadata and controls
26 lines (24 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
- id: docstringify-edit
name: generate missing docstrings with docstringify
description: >-
Generate missing docstrings from signatures and type annotations,
injecting them into the source code.
entry: docstringify edit
language: python
types: [python]
- id: docstringify-suggest
name: suggest docstrings with docstringify
description: >-
Generate suggestions for missing docstrings from signatures and
type annotations, printing them for inspection.
entry: docstringify suggest
language: python
types: [python]
- id: docstringify-check
name: check for missing docstrings with docstringify
description: >-
Flag missing docstrings, failing if more than the threshold are missing.
entry: docstringify check
language: python
require_serial: true
types: [python]