Skip to content

Commit

Permalink
refactor: disable docstring linting for tests and __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
JabobKrauskopf committed Oct 16, 2024
1 parent c252323 commit 3f8ed65
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 7 additions & 7 deletions medmodels/medrecord/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@
"Bool",
"DateTime",
"EdgeIndex",
"EdgeIndex",
"EdgeOperand",
"EdgeQuery",
"Float",
"GroupSchema",
"GroupSchema",
"Int",
"MedRecord",
"NodeIndex",
"NodeIndex",
"NodeOperand",
"NodeQuery",
"Null",
"Option",
"Schema",
"GroupSchema",
"NodeIndex",
"EdgeIndex",
"EdgeQuery",
"NodeQuery",
"NodeOperand",
"EdgeOperand",
"String",
"Union",
]
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ ignore = [
"ISC002",
]

[tool.ruff.per-file-ignores]
"tests/*" = ["D", "DOC"]
"*/__init__.py" = ["D", "DOC"]

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

Expand Down

0 comments on commit 3f8ed65

Please sign in to comment.