jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/506114 )
Change subject: setup.py: Require flake8-quotes>=2.0.1 ......................................................................
setup.py: Require flake8-quotes>=2.0.1
Remove Q003 ignores from tox.ini.
Bug: T221462 Change-Id: I146cbe367b32ea758cf5c4ecc3b43f79b125a6d5 --- M setup.py M tox.ini 2 files changed, 5 insertions(+), 9 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/setup.py b/setup.py index ce8ddbd..c9f205d 100644 --- a/setup.py +++ b/setup.py @@ -67,7 +67,7 @@ 'flake8-future-import', 'flake8-mock>=0.3', 'flake8-print>=2.0.1', - 'flake8-quotes', + 'flake8-quotes>=2.0.1', 'flake8-string-format', 'flake8-tuple>=0.2.8', 'flake8-no-u-prefixed-strings>=0.2', diff --git a/tox.ini b/tox.ini index 48c0edd..8dbf4ae 100644 --- a/tox.ini +++ b/tox.ini @@ -104,9 +104,6 @@ # D412: No blank lines allowed between a section header and its content # D413: Missing blank line after last section
-# Error introduced with flake8-quotes 2.0.0 -# Q003: Change outer quotes to avoid escaping inner quotes - ignore = D105,D211,D401,D413,D412,FI12,FI13,FI15,FI16,FI17,FI5,H101,H236,H301,H404,H405,H903,P101,P102,P103,W503 enable-extensions = H203,H204,H205 exclude = .tox,.git,./*.egg,build,user-config.py,./scripts/i18n/*,scripts/userscripts/* @@ -155,9 +152,9 @@ pywikibot/login.py: N802, N816 pywikibot/page.py: N802 pywikibot/pagegenerators.py : N802, N803, N806, N816 - pywikibot/site.py: N802, N815, Q003 + pywikibot/site.py: N802, N815 pywikibot/specialbots.py : N803, N806, N802 - pywikibot/textlib.py : N801, N802, N803, N806, N816, Q003 + pywikibot/textlib.py : N801, N802, N803, N806, N816 pywikibot/throttle.py: N802 pywikibot/tools/_logging.py: N802 pywikibot/tools/ip.py : N803, N802 @@ -195,7 +192,6 @@ scripts/interwiki.py : N802, N803, N806, N816 scripts/isbn.py : N802, N803, N806, N816 scripts/maintenance/* : T001 - scripts/maintenance/diff_checker.py : Q003 scripts/maintenance/download_dump.py : N815 scripts/match_images.py : N803, N806 scripts/misspelling.py : N802, N803, N806, N815 @@ -227,7 +223,7 @@ tests/edit_failure_tests.py: N802 tests/exceptions_tests.py: N802 tests/family_tests.py: N802, N813 - tests/file_tests.py: N802, N813, Q003 + tests/file_tests.py: N802, N813 tests/flow_edit_tests.py: N813 tests/flow_tests.py: N813 tests/http_tests.py: N813 @@ -235,7 +231,7 @@ tests/imagecopy_tests.py: N802 tests/interwiki_link_tests.py: N802 tests/isbn_tests.py: N802 - tests/link_tests.py: N802, Q003 + tests/link_tests.py: N802 tests/logentry_tests.py: N802, N813 tests/login_tests.py: N802 tests/namespace_tests.py: N802, N813