Dvorapa added a comment.

  • Some of these methods apparently does not use the metaclass, because the metaclass already contains a fix. For example the test I mentioned above (1) is not fixed by the fix in the metaclass, therefore I had to add the fix (replacing - by _) right into the test.

@Xqt At least l10n_tests.py and plural_tests.py does not use the metaclass.

Anyway why is this related to docs. These methods are created during runtime and shouldn’t be listed in any documentation.

Why must tests be documented by sphinx, at all? It's fine for docstrings, but generating to html makes no sense to me since it's not part of our public API for public consumption.

You both agree to exclude tests from docs and @Dalba in 463061 also agree. Let's remove tests from docs completely


TASK DETAIL
https://phabricator.wikimedia.org/T187009

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Dalba, Xqt, zhuyifei1999, Zoranzoki21, gerritbot, Aklapper, pywikibot-bugs-list, Dvorapa, Wenyi, Cpaulf30, Ivana_Isadora, Jayprakash12345, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, srodlund, mys_721tx, Dinoguy1000, jayvdb, Masti, Alchimista, Rxy, Jay8g
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to