jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[tests] remove flake8-string-format test

flake8-string-format package is not maintained for 4 years; therefore
remove it. Valuable tests are already made by pyflake within flake8.

Bug: T368838
Change-Id: Ie8b38fc4f1ae416a950b448ef40d5d6902c140b5
---
M setup.py
M tox.ini
2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/setup.py b/setup.py
index 4cb2948..20d762f 100755
--- a/setup.py
+++ b/setup.py
@@ -64,7 +64,6 @@
'flake8-print>=5.0.0',
'flake8-quotes>=3.3.2',
'flake8-raise',
- 'flake8-string-format; python_version < "3.14"', # T368838
'flake8-tuple>=0.4.1',
'flake8-no-u-prefixed-strings>=0.2',
'pep8-naming==0.13.3; python_version < "3.8"',
diff --git a/tox.ini b/tox.ini
index cfca5ce..d4a2cf4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -126,9 +126,6 @@
# H404: docstring multiline start
# H405: docstring summary line
# H903: Use only UNIX style newlines, not Windows style
-# P101: format string does contain unindexed parameters
-# P102: docstring does contain unindexed parameters
-# P103: other string does contain unindexed parameters
# R100: raise in except handler without from
# W503: line break before binary operator; against current PEP 8 recommendation

@@ -140,7 +137,7 @@
# DARXXX: Darglint docstring issues to be solved
# DAR000: T368849

-ignore = B007,D105,D211,D401,D413,D412,DAR000,DAR003,DAR101,DAR102,DAR201,DAR202,DAR301,DAR401,DAR402,DAR501,H101,H231,H232,H233,H234,H235,H236,H237,H238,H301,H306,H404,H405,H903,P101,P102,P103,P205,R100,W503
+ignore = B007,D105,D211,D401,D413,D412,DAR000,DAR003,DAR101,DAR102,DAR201,DAR202,DAR301,DAR401,DAR402,DAR501,H101,H231,H232,H233,H234,H235,H236,H237,H238,H301,H306,H404,H405,H903,R100,W503
enable-extensions = H203,H204,H205,N818

count = True

To view, visit change 1051780. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ie8b38fc4f1ae416a950b448ef40d5d6902c140b5
Gerrit-Change-Number: 1051780
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot