Skip to content

Commit

Permalink
Configure docformatter
Browse files Browse the repository at this point in the history
  • Loading branch information
adamtheturtle committed Oct 8, 2024
1 parent 90b75cf commit 8bbc606
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ repos:
types_or: [yaml]
additional_dependencies: ["uv"]

- id: docformatter
name: docformatter
entry: uv run --extra=dev -m docformatter
- id: docformatter --in-place
name: docformatter --in-place
entry: uv run --extra=dev -m docformatter --in-place
language: python
types_or: [python]
additional_dependencies: ["uv"]
Expand Down Expand Up @@ -283,9 +283,9 @@ ci:
- ruff-check-fix-docs
- ruff-format-fix
- ruff-format-fix-docs
- docformatter
- docformatter --in-place
- shellcheck
- docformatter
- docformatter --in-place
- shellcheck-docs
- shfmt
- shfmt-docs
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ optional-dependencies.dev = [
"types-requests==2.32.0.20240914",
"vulture==2.13",
"vws-python-mock==2024.8.30",
"docformatter==1.7.5",
"docformatter --in-place==1.7.5",
]
optional-dependencies.release = [ "check-wheel-contents==0.6.0" ]
urls.Source = "https://github.com/VWS-Python/vws-auth-tools"
Expand Down Expand Up @@ -241,6 +241,9 @@ spelling-private-dict-file = 'spelling_private_dict.txt'
# --spelling-private-dict-file option instead of raising a message.
spelling-store-unknown-words = 'no'

[tool.docformatter]
make-summary-multi-line = true

[tool.check-manifest]

ignore = [
Expand Down

0 comments on commit 8bbc606

Please sign in to comment.