diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2018-03-27 14:30:46 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2018-04-05 14:41:58 -0400 |
commit | c50c68fef179d9306f1a3432f48985bf20555e38 (patch) | |
tree | a1c208329a090c54a8a1f02558b2be87b830a8ab /.pydocstyle | |
parent | a5dacf7092f51055dd774a1911a48815bb9a1e0e (diff) | |
download | mongo-c50c68fef179d9306f1a3432f48985bf20555e38.tar.gz |
SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy
Diffstat (limited to '.pydocstyle')
-rw-r--r-- | .pydocstyle | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.pydocstyle b/.pydocstyle new file mode 100644 index 00000000000..dc8da3eaf1f --- /dev/null +++ b/.pydocstyle @@ -0,0 +1,12 @@ +# See https://readthedocs.org/projects/pydocstyle/ +[pydocstyle] +inherit = false +# D105 - Missing docstring in magic method +# D202 - No blank lines allowed after function docstring +# D203 - 1 blank line required before class docstring +# D212 - Multi-line docstring summary should start at the first line +# D213 - Multi-line docstring summary should start at the second line +# D301 - Use r""" if any backslashes in a docstring +ignore = D105,D202,D203,D212,D213,D301 +# Do not run on buildscripts/tests/ +match = ^((?!buildscripts\/tests\/).)*$ |