D3r1ck01 renamed this task from "Fix W504 issues across files" to "Fix W504 issues across files in the Pywikibot repository". D3r1ck01 updated the task description. (Show Details) |
CHANGES TO TASK DESCRIPTION
[Pywikibot](https://www.mediawiki.org/wiki/Manual:Pywikibot) is a Python library and collection of scripts that automate work on MediaWiki sites. This task will mainly be to fix [W504](https://martin-thoma.com/python-style-guide/#error-codes) 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 here: https://gerrit.wikimedia.org/r/plugins/gitiles/pywikibot/core/+/refs/heads/master/README.rst.
Once your done getting Pywikibot core on your local machine, if you want to install it for further experimentation, follow this link: https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation.
Now, to the W504 error, see the GCI task corresponding to the files you're supposed to fix these errors in, here is an example patch: https://gerrit.wikimedia.org/r/c/pywikibot/core/+/469405.
= Notes to GCI participant
Once you're done fixing the errors in the files corresponding to the GCI task, make a patch reference this task using `Bug: TXXX` syntax. See https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines for how to write a proper commit message for Wikimedia Gerrit.
Below are the files with the W504 errors;
```
Clone Pywikibot from Wikimedia Gerrit: https://gerrit.wikimedia.org/g/pywikibot/core/+/refs/heads/master. Follow steps here: https://gerrit.wikimedia.org/r/plugins/gitiles/pywikibot/core/+/refs/heads/master/README.rst.
Once your done getting Pywikibot core on your local machine, if you want to install it for further experimentation, follow this link: https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation.
Now, to the W504 error, see the GCI task corresponding to the files you're supposed to fix these errors in, here is an example patch: https://gerrit.wikimedia.org/r/c/pywikibot/core/+/469405.
= Notes to GCI participant
Once you're done fixing the errors in the files corresponding to the GCI task, make a patch reference this task using `Bug: TXXX` syntax. See https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines for how to write a proper commit message for Wikimedia Gerrit.
Below are the files with the W504 errors;
```
...
TASK DETAIL
EMAIL PREFERENCES
To: D3r1ck01
Cc: gerritbot, Aklapper, pywikibot-bugs-list, D3r1ck01, Dvorapa, CucyNoiD, NebulousIris, Wenyi, Kieubinhtb, Wonnral, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Asad_Ali_Palijo, Cpaulf30, Lahi, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, Soteriaspace, RazeSoldier, Jayprakash12345, Th3d3v1ls, JakeTheDeveloper, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, TerraCodes, Avicennasis, MuhammadShuaib, SimmeD, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: gerritbot, Aklapper, pywikibot-bugs-list, D3r1ck01, Dvorapa, CucyNoiD, NebulousIris, Wenyi, Kieubinhtb, Wonnral, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Asad_Ali_Palijo, Cpaulf30, Lahi, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, Soteriaspace, RazeSoldier, Jayprakash12345, Th3d3v1ls, JakeTheDeveloper, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, TerraCodes, Avicennasis, MuhammadShuaib, SimmeD, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs