Skip to content

Commit

Permalink
conf in pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Jul 25, 2023
1 parent 843e455 commit b30ea57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ repos:
- id: black

- repo: https://github.com/PyCQA/docformatter
rev: v1.6.3
rev: v1.7.5
hooks:
- id: docformatter
args:
- "--in-place"
- "--wrap-summaries=120"
- "--wrap-descriptions=120"
additional_dependencies: [tomli]
args: ["--in-place"]
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ disallow_untyped_defs = true
line-length = 120
target-version = ['py37']

[tool.docformatter]
recursive = true
wrap-summaries = 120
wrap-descriptions = 120
blank = true


[tool.ruff]
line-length = 120
Expand Down

0 comments on commit b30ea57

Please sign in to comment.