Wikimedia
Pywikibot: Fix W504 issues across python scripts (XIX)
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
Fix these errors;
./tests/ui_tests.py:458:13: W504 line break after binary operator
./tests/ui_tests.py:459:13: W504 line break after binary operator
./tests/ui_tests.py:468:13: W504 line break after binary operator
./tests/ui_tests.py:469:13: W504 line break after binary operator
./tests/tools_ip_tests.py:703:26: W504 line break after binary operator
./tests/tools_ip_tests.py:710:26: W504 line break after binary operator
./tests/utils.py:680:28: W504 line break after binary operator
./tests/utils.py:687:34: W504 line break after binary operator
./tests/isbn_tests.py:258:29: W504 line break after binary operator
./tests/pagegenerators_tests.py:464:17: W504 line break after binary operator
./tests/__init__.py:235:29: W504 line break after binary operator
./tests/__init__.py:236:29: W504 line break after binary operator
./tests/site_tests.py:702:21: W504 line break after binary operator
Task tags
Students who completed this task
Nathan