jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/401908 )
Change subject: Remove pydocstyle version restriction
......................................................................
Remove pydocstyle version restriction
Ignore the newly added error D999 for __all__ in pywikibot/__init__.py.[1]
This patch also fixes the current flake8 InvocationError.
[1]:
https://gitlab.com/pycqa/flake8-docstrings/merge_requests/12/diffs
Bug: T178138
Bug: T184164
Change-Id: I3a6807e0419786e16b7281f9d19bd15fa780c6e2
---
M tox.ini
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tox.ini b/tox.ini
index 47a294e..30fbffe 100644
--- a/tox.ini
+++ b/tox.ini
@@ -60,7 +60,7 @@
basepython = python2.7
deps = flake8
pyflakes >= 1.1
- pydocstyle == 2.0.0
+ pydocstyle
hacking
flake8-docstrings>=1.1.0
flake8-per-file-ignores
@@ -200,6 +200,8 @@
scripts/makecat.py : D103
scripts/interwiki.py : P102
pywikibot/__init__.py : P103
+ # pydocstyle cannot handle multiple __all__ variables
+ pywikibot/__init__.py : D999
# valid N805 naming convention exceptions
pywikibot/userinterfaces/terminal_interface.py : N814
# invalidly detected as {} format string:
--
To view, visit
https://gerrit.wikimedia.org/r/401908
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3a6807e0419786e16b7281f9d19bd15fa780c6e2
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>