-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix attrs incompatibility of pydoclint
* Pin pydoclint to version 0.5.1 (now also in pre-commit) * Deactivate incompatible `check-class-attributes` option For details, see: jsh9/pydoclint#140
- Loading branch information
1 parent
e79f37f
commit 9b242c6
Showing
3 changed files
with
14 additions
and
7 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
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,10 +1,17 @@ | ||
# The following are options that are used for pydoclint | ||
# Note that we need to use pydoclint as a flake8 plugin as we cannot have the | ||
# in-line noqa exclusions otherwise | ||
|
||
[flake8] | ||
# Use google docstring style | ||
style=google | ||
# We do not have the type hints in the docstrings | ||
arg-type-hints-in-docstring=False | ||
# We do not have the return types in the docstrings | ||
check-return-types=False | ||
style=google | ||
|
||
# We do not repeat parameter type hints in docstrings | ||
arg-type-hints-in-docstring=False | ||
|
||
# We do not repeat return types in the docstrings | ||
check-return-types=False | ||
|
||
# As of 0.5.2, pydoclint breaks with attrs classes | ||
# https://github.com/jsh9/pydoclint/issues/140 | ||
check-class-attributes=False |
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