This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients chris.jerdonek, eric.araujo, ezio.melotti, gregory.p.smith, miss-islington, rbcollins, vstinner, xdegaye
Date 2019-04-16.09:20:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555406454.09.0.347052083356.issue16079@roundup.psfhosted.org>
In-reply-to
Content
Thanks for the link Gregory. I will write a script based on ast and check its output against pylint and against the current script based on tokenize.

The travis() function of Tools/scripts/patchcheck.py may be modified to import this script and run it only on files modified by the PR. This may allow the pre-commit duplicate check to be installed without waiting for the python test suite to be cleaned if the existing duplicates are temporarily added to the ignored_duplicates file (assuming an issue has been entered for each one of those existing duplicates with a note saying to remove the entry in ignored_duplicates when the issue is fixed). Indeed, issues #19113 and #19119 are still open after they have been entered 5 years ago.
History
Date User Action Args
2019-04-16 09:20:54xdegayesetrecipients: + xdegaye, gregory.p.smith, vstinner, rbcollins, ezio.melotti, eric.araujo, chris.jerdonek, miss-islington
2019-04-16 09:20:54xdegayesetmessageid: <1555406454.09.0.347052083356.issue16079@roundup.psfhosted.org>
2019-04-16 09:20:54xdegayelinkissue16079 messages
2019-04-16 09:20:53xdegayecreate