Message340323
| 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. |
|