jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[cleanup] Trim unused flake8 ignore clauses

Dropping the ignore clauses that aren't being used so we know if we regress
there.

This also standardizes our colon dividers (sometimes it was prefixed with an
extra space and sometimes not).

Change-Id: Ib05f6b34b1f3ae2a07fd44f4b527c63a00f80ef6
---
M tox.ini
1 file changed, 45 insertions(+), 49 deletions(-)

diff --git a/tox.ini b/tox.ini
index 98c63f2..59090f8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -125,65 +125,61 @@
# N816: mixedCase variable in global scope

per-file-ignores =
- generate_family_file.py : T001
- pwb.py : FI53, T001
- pywikibot/__init__.py : N802, N806, N815, N816
+ generate_family_file.py: T001
+ pwb.py: FI53, T001
+ pywikibot/__init__.py: N802, N806, N815
pywikibot/_wbtypes.py: N802
pywikibot/backports.py: F401
pywikibot/bot.py: N802, N816
pywikibot/config.py: N816
- pywikibot/cosmetic_changes.py : N802, N803, N806, N816
- pywikibot/data/api.py : N802
- pywikibot/date.py : N802, N803, N806, N816
- pywikibot/editor.py : N803, N806
- pywikibot/exceptions.py : H501
- pywikibot/families/* : D102
- pywikibot/family.py : N802, N803, N806, N815
- pywikibot/fixes.py : E241
- pywikibot/interwiki_graph.py : N802, N803, N806
- pywikibot/logentries.py: N802
- pywikibot/logging.py : N803
+ pywikibot/cosmetic_changes.py: N802, N803, N806, N816
+ pywikibot/date.py: N802, N803, N806, N816
+ pywikibot/editor.py: N803, N806
+ pywikibot/exceptions.py: H501
+ pywikibot/families/*: D102
+ pywikibot/family.py: N802, N803, N806, N815
+ pywikibot/fixes.py: E241
+ pywikibot/interwiki_graph.py: N802, N803, N806
pywikibot/login.py: N802, N816
pywikibot/page/__init__.py: N802
pywikibot/page/_collections.py: N802
- pywikibot/pagegenerators.py : N802, N803, N806, N816
+ pywikibot/pagegenerators.py: N802, N803, N806, N816
pywikibot/site/_datasite.py: N802
- pywikibot/specialbots/__init__.py : F401
- pywikibot/textlib.py : N801, N802, N803, N806
+ pywikibot/textlib.py: N801, N802, N803, N806
pywikibot/throttle.py: N802
pywikibot/tools/_logging.py: N802
- pywikibot/userinterfaces/gui.py : N802, N803, N806, N812
- pywikibot/userinterfaces/terminal_interface.py : N814
- pywikibot/userinterfaces/terminal_interface_base.py : N802, N803, N806, N816
- pywikibot/userinterfaces/terminal_interface_unix.py : E241, N816
- pywikibot/userinterfaces/terminal_interface_win32.py : E241, N816
- pywikibot/userinterfaces/win32_unicode.py : N801, N803, N806, N812, T001
- pywikibot/xmlreader.py : N802, N803, N806
- scripts/add_text.py : N803, N806
- scripts/category.py : N802, N803, N806
- scripts/category_redirect.py : N802, N803, N806
- scripts/checkimages.py : N801, N802, N803, N806, N816
- scripts/clean_sandbox.py : N816
- scripts/commonscat.py : N802, N806, N816
- scripts/cosmetic_changes.py : N816
- scripts/fixing_redirects.py : N803, N806
- scripts/harvest_template.py : N802, N816
- scripts/interwiki.py : N802, N803, N806, N815, N816
- scripts/imagetransfer.py : N803, N806, N816
- scripts/maintenance/make_i18n_dict.py : T001
- scripts/misspelling.py : N802, N806
- scripts/movepages.py : N802, N803, N806
- scripts/noreferences.py : N802, N803, N806, N816
- scripts/redirect.py : N803, N806
- scripts/reflinks.py : N802, N816
- scripts/replace.py : N802, N803, N806, N816
- scripts/solve_disambiguation.py : N802, N803, N806
+ pywikibot/userinterfaces/gui.py: N802, N803, N806, N812
+ pywikibot/userinterfaces/terminal_interface.py: N814
+ pywikibot/userinterfaces/terminal_interface_base.py: N802, N803, N806, N816
+ pywikibot/userinterfaces/terminal_interface_unix.py: E241, N816
+ pywikibot/userinterfaces/terminal_interface_win32.py: E241, N816
+ pywikibot/userinterfaces/win32_unicode.py: N801, N803, N806, N812, T001
+ pywikibot/xmlreader.py: N802, N803, N806
+ scripts/add_text.py: N803, N806
+ scripts/category.py: N802, N803, N806
+ scripts/category_redirect.py: N802, N803, N806
+ scripts/checkimages.py: N801, N802, N803, N806, N816
+ scripts/clean_sandbox.py: N816
+ scripts/commonscat.py: N802, N806, N816
+ scripts/cosmetic_changes.py: N816
+ scripts/fixing_redirects.py: N803, N806
+ scripts/harvest_template.py: N802, N816
+ scripts/interwiki.py: N802, N803, N806, N816
+ scripts/imagetransfer.py: N803, N806, N816
+ scripts/maintenance/make_i18n_dict.py: T001
+ scripts/misspelling.py: N802
+ scripts/movepages.py: N802, N803, N806
+ scripts/noreferences.py: N802, N803, N806, N816
+ scripts/redirect.py: N803, N806
+ scripts/reflinks.py: N802, N816
+ scripts/replace.py: N802, N803, N806, N816
+ scripts/solve_disambiguation.py: N802, N806
scripts/templatecount.py: N802
- scripts/weblinkchecker.py : N802, N803, N806
+ scripts/weblinkchecker.py: N802, N803, N806
scripts/welcome.py: N802, N815
- setup.py : T001
+ setup.py: T001
tests/api_tests.py: N802
- tests/archivebot_tests.py: N802, N813
+ tests/archivebot_tests.py: N802
tests/aspects.py: N802
tests/bot_tests.py: N802
tests/collections_tests.py: N802
@@ -197,9 +193,9 @@
tests/link_tests.py: N802
tests/login_tests.py: N802
tests/namespace_tests.py: N802
- tests/page_tests.py : E241, N802
+ tests/page_tests.py: E241, N802
tests/pagegenerators_tests.py: N802
- tests/pwb/* : T001
+ tests/pwb/*: T001
tests/script_tests.py: N802
tests/site_detect_tests.py: N802
tests/site_tests.py: N802
@@ -210,7 +206,7 @@
tests/tools_formatter_tests.py: N802
tests/tools_tests.py: N802
tests/ui_options_tests.py: N802
- tests/ui_tests.py : D102, D103, N801, N802
+ tests/ui_tests.py: D102, D103, N802
tests/wikibase_edit_tests.py: N802
tests/wikibase_tests.py: N802
tests/xmlreader_tests.py: N802

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

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ib05f6b34b1f3ae2a07fd44f4b527c63a00f80ef6
Gerrit-Change-Number: 699088
Gerrit-PatchSet: 1
Gerrit-Owner: Damian <atagar1@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged