Xqt added a comment.
In T277396#7125020 <https://phabricator.wikimedia.org/T277396#7125020>, @atagar wrote: > Hi Xqt. It's a bit unclear to me what the task is... > >> lint checker that would look at the function's signature (i.e. parameter names) and compares with the function documentation > > Does this mean this aims for a lint check for the following? > > def my_function(my_arg): > """ > Some neat stuff. > > :param wrong_name: blah > """ > > If so I'd be happy to take a look, but I'd think Sphinx would already exhibit a warning for that. Yes I meant this shown by your example. Sphinx does not give a warning for that (or it is deactivated and nitpick option must be set). Darglint tests it but there are so many false positives or code to be changed that I've given up with my patch recently. TASK DETAIL https://phabricator.wikimedia.org/T277396 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: atagar, Dvorapa, Ebrahim, Xqt, DannyS712, Aklapper, Huji, pywikibot-bugs-list, Shalomori123, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, NebulousIris, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, Liudvikas, thcipriani, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
