Skip to content

Commit

Permalink
Switch pydocstyle to pep257
Browse files Browse the repository at this point in the history
  • Loading branch information
codingjoe committed May 5, 2024
1 parent 1812024 commit dc16e3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ section-order = ["future", "standard-library", "third-party", "first-party", "lo
force-wrap-aliases = true

[tool.ruff.lint.pydocstyle]
convention = "google"
convention = "pep257"

[[tool.pydoc-markdown.loaders]]
type = "python"
Expand Down
5 changes: 3 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def test_func_to_tool():
def fn(
a: int, b: str, blood_types: tests.test_utils.BloodTypes, _context=None
) -> str:
"""Function description.
"""
Describe function.
Args:
a: Description of a.
Expand All @@ -37,7 +38,7 @@ def fn(
"type": "function",
"function": {
"name": "my_unique_function",
"description": "Function description.",
"description": "Describe function.",
"parameters": {
"type": "object",
"properties": {
Expand Down

0 comments on commit dc16e3c

Please sign in to comment.