Wikimedia
Pywikibot: Fix W504 issues across python scripts (XVII)
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/textlib_tests.py:1431:17: W504 line break after binary operator
./pywikibot/data/api.py:412:30: W504 line break after binary operator
./pywikibot/data/api.py:538:25: W504 line break after binary operator
./pywikibot/data/api.py:697:29: W504 line break after binary operator
./pywikibot/data/api.py:723:51: W504 line break after binary operator
./pywikibot/data/api.py:806:29: W504 line break after binary operator
./pywikibot/data/api.py:1118:30: W504 line break after binary operator
./pywikibot/data/api.py:1153:13: W504 line break after binary operator
./pywikibot/data/api.py:1180:36: W504 line break after binary operator
./pywikibot/data/api.py:1202:17: W504 line break after binary operator
./pywikibot/data/api.py:1536:20: W504 line break after binary operator
./pywikibot/data/api.py:1695:21: W504 line break after binary operator
./pywikibot/data/api.py:1696:21: W504 line break after binary operator
./pywikibot/data/api.py:2039:29: W504 line break after binary operator
./pywikibot/data/api.py:3354:16: W504 line break after binary operator
Task tags
Students who completed this task
stella