Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/881261 )
Change subject: [flake8] Ignore flake8-bugbear 23.1.14 ......................................................................
[flake8] Ignore flake8-bugbear 23.1.14
The bugbear B028 introduced with 23.1.14 was removed in 23.1.17. The https://github.com/PyCQA/flake8-bugbear/issues/329 issue was solved upstream
Change-Id: I308b766fe62ca9007c802b0728a07b1acbd6c01e --- M setup.py M tox.ini 2 files changed, 15 insertions(+), 3 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/setup.py b/setup.py index 961cec2..66fac58 100755 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ 'flake8>=5.0.4', 'darglint', 'pydocstyle>=6.2.3', - 'flake8-bugbear', + 'flake8-bugbear!=23.1.14', 'flake8-coding', 'flake8-comprehensions', 'flake8-docstrings>=1.4.0', diff --git a/tox.ini b/tox.ini index a55b81b..a5f454b 100644 --- a/tox.ini +++ b/tox.ini @@ -109,7 +109,6 @@
[flake8] # The following are intentionally ignored, possibly pending consensus -# B028: False positive, see https://github.com/PyCQA/flake8-bugbear/issues/329 # D105: Missing docstring in magic method # D211: No blank lines allowed before class docstring # FI1: __future__ import "x" missing @@ -132,7 +131,7 @@
# DARXXX: Darglint docstring issues to be solved
-ignore = B007,B028,D105,D211,D401,D413,D412,DAR003,DAR101,DAR102,DAR201,DAR202,DAR301,DAR401,DAR402,DAR501,H101,H238,H301,H306,H404,H405,H903,P101,P102,P103,P205,W503 +ignore = B007,D105,D211,D401,D413,D412,DAR003,DAR101,DAR102,DAR201,DAR202,DAR301,DAR401,DAR402,DAR501,H101,H238,H301,H306,H404,H405,H903,P101,P102,P103,P205,W503 enable-extensions = H203,H204,H205,N818
color = always
pywikibot-commits@lists.wikimedia.org