Skip to content

Commit

Permalink
add ignore pydocstyle in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gsheni committed Jun 25, 2024
1 parent 3c64f13 commit 1b6a9fc
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ exclude = [
".tox",
".git",
"__pycache__",
".ipynb_checkpoints"
".ipynb_checkpoints",
"tasks.py",
]

[tool.ruff.lint]
Expand All @@ -183,16 +184,7 @@ select = [
ignore = [
"E501",
# pydocstyle
"D100",
"D101",
"D102",
"D103",
"D104",
"D105", # Missing docstring in magic method
"D107", # Missing docstring in __init__
"D205",
"D301",
"D415",
"D417", # Missing argument descriptions in the docstring, this is a bug from pydocstyle: https://github.com/PyCQA/pydocstyle/issues/449
# pandas-vet
"PD901",
Expand All @@ -212,6 +204,8 @@ lines-between-types = 0

[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "E402", "F403", "F405", "E501", "I001"]
# Ignore pydocstyle in `tests/**.py` directory.
"tests/**.py" = ["D"]

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

0 comments on commit 1b6a9fc

Please sign in to comment.