Skip to content

Commit 5585753

Browse files
committed
Fix pyproject.toml
1 parent 162c6fa commit 5585753

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@ classmethod-decorators = [
166166
]
167167

168168
[tool.ruff.lint.pycodestyle]
169-
# https://docs.astral.sh/ruff/settings/#pycodestyle
169+
# https://docs.astral.sh/ruff/settings/#lintpycodestyle
170170
max-doc-length = 100
171171

172172
[tool.ruff.lint.pydocstyle]
173-
# https://docs.astral.sh/ruff/settings/#pydocstyle
173+
# https://docs.astral.sh/ruff/settings/#lintpydocstyle
174174
convention = "google"
175175

176176
[tool.ruff.lint.pylint]

{{ cookiecutter.project_name.lower().replace(' ', '-') }}/pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ disallow_untyped_defs = false
5252
disallow_incomplete_defs = false
5353
disallow_untyped_calls = false
5454
{% if cookiecutter.install_pydantic %}
55-
[tool.pydantic-mypy] # https://pydantic-docs.helpmanual.io/mypy_plugin/#configuring-the-plugin
55+
[tool.pydantic-mypy]
56+
# https://pydantic-docs.helpmanual.io/mypy_plugin/#configuring-the-plugin
5657
init_forbid_extra = true
5758
init_typed = true
5859
warn_required_dynamic_aliases = true
@@ -180,8 +181,11 @@ classmethod-decorators = [
180181
]
181182

182183
[tool.ruff.lint.pycodestyle]
183-
# https://docs.astral.sh/ruff/settings/#lintpydocstyle
184+
# https://docs.astral.sh/ruff/settings/#lintpycodestyle
184185
max-doc-length = 100
186+
187+
[tool.ruff.lint.pydocstyle]
188+
# https://docs.astral.sh/ruff/settings/#lintpydocstyle
185189
convention = "google"
186190

187191
[tool.ruff.lint.pylint]

0 commit comments

Comments
 (0)