-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #78: Added ruff configuration to check docstring style
- Loading branch information
1 parent
1692bc2
commit 0d213a3
Showing
2 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,36 @@ | ||
ignore-init-module-imports = true | ||
ignore-init-module-imports = true | ||
exclude = [ | ||
".txt", | ||
".bzr", | ||
".direnv", | ||
".eggs", | ||
".git", | ||
".git-rewrite", | ||
".hg", | ||
".mypy_cache", | ||
".nox", | ||
".pants.d", | ||
".pytype", | ||
".ruff_cache", | ||
".svn", | ||
".tox", | ||
".venv", | ||
"__pypackages__", | ||
"__pycache__", | ||
"_build", | ||
"buck-out", | ||
"build", | ||
"docs", | ||
"dist", | ||
"node_modules", | ||
"venv", | ||
] | ||
|
||
select = [ | ||
"D205", # Blank line after summary | ||
"D103", # Public function needs docstring | ||
"D101", # Class needs docstring | ||
"D102", # Method needs docstring | ||
"D417", # Document all arguments | ||
"D419", # Docstring is empty | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters