Skip to content

Commit

Permalink
Enable ruff's pydocstyle (D) rules and set numpy convention
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Dec 27, 2023
1 parent fbc4e97 commit b9c4d42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ select = [
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"C4", # flake8-comprehensions
"D", # pydocstyle
"E", # pycodestyle
"EXE", # flake8-executable
"F", # pyflakes
Expand Down Expand Up @@ -153,6 +154,9 @@ known-third-party = ["pygmt"]
[tool.ruff.lint.pycodestyle]
max-doc-length = 88

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

[tool.ruff.lint.pylint]
max-args=10

Expand Down

0 comments on commit b9c4d42

Please sign in to comment.