Skip to content

Commit 31102d4

Browse files
committed
Merge branch 'version2_development' into version2_data_finder_cleanup
2 parents bce8072 + ccb262e commit 31102d4

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.prospector.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,7 @@ pep8:
1616
full: true
1717

1818
pep257:
19-
# see http://pep257.readthedocs.io/en/latest/error_codes.html
20-
disable: [
21-
# For short descriptions it makes sense not to end with a period:
22-
D400, # First line should end with a period
23-
# Disable because not part of PEP257 official convention:
24-
D203, # 1 blank line required before class docstring
25-
D212, # Multi-line docstring summary should start at the first line
26-
D213, # Multi-line docstring summary should start at the second line
27-
D404, # First word of the docstring should not be This
28-
]
19+
# disable rules that are allowed by the numpy convention
20+
# see https://github.com/PyCQA/pydocstyle/blob/master/src/pydocstyle/violations.py
21+
# and http://pydocstyle.readthedocs.io/en/latest/error_codes.html
22+
disable: ['D107', 'D203', 'D212', 'D213', 'D402', 'D413']

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,9 @@ source-dir = doc/sphinx/source
33
build-dir = doc/sphinx/build
44
all_files = 1
55
builder = html
6+
67
[pytest]
78
log_level = DEBUG
9+
10+
[pydocstyle]
11+
convention = numpy

0 commit comments

Comments
 (0)