Skip to content

Commit b30ea57

Browse files
committed
conf in pyproject
1 parent 843e455 commit b30ea57

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ repos:
3535
- id: black
3636

3737
- repo: https://github.com/PyCQA/docformatter
38-
rev: v1.6.3
38+
rev: v1.7.5
3939
hooks:
4040
- id: docformatter
41-
args:
42-
- "--in-place"
43-
- "--wrap-summaries=120"
44-
- "--wrap-descriptions=120"
41+
additional_dependencies: [tomli]
42+
args: ["--in-place"]

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ disallow_untyped_defs = true
1414
line-length = 120
1515
target-version = ['py37']
1616

17+
[tool.docformatter]
18+
recursive = true
19+
wrap-summaries = 120
20+
wrap-descriptions = 120
21+
blank = true
22+
1723

1824
[tool.ruff]
1925
line-length = 120

0 commit comments

Comments
 (0)