Wikimedia
Pywikibot: Fix W504 issues across python scripts (IV)
Pywikibot is a Python library and collection of scripts that automate work on MediaWiki sites. This task will mainly be to fix W504 errors (line break after binary operator) found in the Pywikibot repository.
Clone Pywikibot from Wikimedia Gerrit: https://gerrit.wikimedia.org/g/pywikibot/core/+/refs/heads/master. Follow steps in the README.rst.
See full task description here: https://phabricator.wikimedia.org/T207836.
Below are the errors you're to fix;
./scripts/interwiki.py:988:15: W504 line break after binary operator
./scripts/interwiki.py:1063:19: W504 line break after binary operator
./scripts/interwiki.py:1064:19: W504 line break after binary operator
./scripts/interwiki.py:1299:23: W504 line break after binary operator
./scripts/interwiki.py:1629:29: W504 line break after binary operator
./scripts/interwiki.py:1640:23: W504 line break after binary operator
./scripts/interwiki.py:1641:23: W504 line break after binary operator
./scripts/interwiki.py:1655:25: W504 line break after binary operator
./scripts/interwiki.py:1656:25: W504 line break after binary operator
./scripts/interwiki.py:1657:25: W504 line break after binary operator
./scripts/interwiki.py:1658:26: W504 line break after binary operator
./scripts/interwiki.py:1659:29: W504 line break after binary operator
./scripts/interwiki.py:1812:21: W504 line break after binary operator
./scripts/interwiki.py:2429:34: W504 line break after binary operator
Task tags
Students who completed this task
Nathan