Skip to content

Commit

Permalink
pyproject:tool.ruff.lint.ignore - ignore D401
Browse files Browse the repository at this point in the history
D401: First line of docstring should be in imperative mood
  • Loading branch information
MatteoCampinoti94 committed Jun 21, 2024
1 parent 348656e commit c179ddc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ ignore = [
"D212", # multi-line docstring summary should start at the first line,
"D213", # multi-line docstring summary should start at the second line,
"D300", # use triple docstring
"D401", # first line of docstring should be in imperative mood
"DTZ005", # datetime.datetime.now() called without a tz argument
"E712", # comparison to True/False, we ignore because we use sqlalchemy
"FBT001", # boolean arguement in function definition
Expand Down Expand Up @@ -124,7 +125,7 @@ force-single-line = true
order-by-type = false

[tool.ruff.lint.pydocstyle]
convention = "google"
convention = "pep257"
ignore-decorators = ["pytest.fixture"]

[tool.ruff.lint.pycodestyle]
Expand Down

0 comments on commit c179ddc

Please sign in to comment.