Skip to content

Commit 0991e35

Browse files
Merge pull request #861 from adamtheturtle/merge-pydocstyle
Move pydocstyle config to setup.cfg
2 parents 2ede57f + 2390519 commit 0991e35

File tree

2 files changed

+28
-17
lines changed

2 files changed

+28
-17
lines changed

.pydocstyle

Lines changed: 0 additions & 17 deletions
This file was deleted.

setup.cfg

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ versionfile_build = vws/_version.py
4747
tag_prefix =
4848
parentdir_prefix = vws
4949

50+
[bdist_wheel]
51+
universal = 1
52+
53+
[metadata]
54+
license_file = LICENSE
55+
5056
[doc8]
5157
max-line-length = 2000
5258
ignore-path = ./src/*.egg-info/SOURCES.txt,./docs/build/spelling/output.txt
@@ -71,3 +77,25 @@ warn_redundant_casts = True
7177
warn_return_any = True
7278
warn_unused_configs = True
7379
warn_unused_ignores = True
80+
81+
[mypy-vws/_version]
82+
ignore_errors = True
83+
84+
[pydocstyle]
85+
# No summary lines
86+
# - D200
87+
# - D205
88+
# - D400
89+
# We don't want blank lines before class docstrings
90+
# - D203
91+
# We don't need docstrings to start at the first line
92+
# - D212
93+
# Allow blank lines after function docstrings
94+
# - D202
95+
# Section names do not need to end in newlines
96+
# - D406
97+
# Section names do not need dashed underlines
98+
# - D407
99+
# No blank line is needed after the last section
100+
ignore = D200,D202,D203,D205,D212,D400,D406,D407,D413
101+
match = match='(?!_vendor).*\.py'

0 commit comments

Comments
 (0)