Xqt created this task. Xqt added projects: Pywikibot, good first task. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION Introduction ------------ `return` statement causes the control flow to be disrupted, making the `else` / `elif` block here unnecessary. This should be refactordd for a better readability. What to do: ----------- - The issues are listed here <https://deepsource.io/gh/ankitdobhal/pywikibot/issue/PYL-R1705/occurrences> - replace `elif` block with `if` block - decrease nested `else` block Important hints --------------- - additional information and code samples can be found here <https://deepsource.io/gh/ankitdobhal/pywikibot/issue/PYL-R1705/description> - refer our Coding Convention Guidlines <https://www.mediawiki.org/wiki/Manual:Pywikibot/Development#Guidelines> TASK DETAIL https://phabricator.wikimedia.org/T277888 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, Gaurav24072002, Abhinay76, Annysah01, Rohitgeddam, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Soda, Chaytanya, Zkhalido, wiki-helenatxu, Viztor, Wenyi, Kieubinhtb, Tks4Fish, Mh-3110, Asad_Ali_Palijo, Lahi, Soteriaspace, JakeTheDeveloper, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, xSavitar, Altostratus, Avicennasis, MuhammadShuaib, Tmalhotra, SimmeD, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
