Huji added a comment.
@Xqt from what I can see, the only issue pycodestyle finds with our current scripts is lack of compliance with E731 <https://phabricator.wikimedia.org/E731> (do not assign a lambda expression, use a def) which happens with only the following: - pywikibot/site.py - scripts/flickrripper.py - scripts/interwiki.py How about we refactor those three (I think I can do that) and add pycodestyle to the CI jobs for pywikibot so that it is enforced prospectively? TASK DETAIL https://phabricator.wikimedia.org/T85328 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Huji Cc: Magul, Huji, Ricordisamoa, Xqt, jayvdb, Aklapper, pywikibot-bugs-list, XZise, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs