Message340323
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. |
|
Date |
User |
Action |
Args |
2019-04-16 09:20:54 | xdegaye | set | recipients:
+ xdegaye, gregory.p.smith, vstinner, rbcollins, ezio.melotti, eric.araujo, chris.jerdonek, miss-islington |
2019-04-16 09:20:54 | xdegaye | set | messageid: <1555406454.09.0.347052083356.issue16079@roundup.psfhosted.org> |
2019-04-16 09:20:54 | xdegaye | link | issue16079 messages |
2019-04-16 09:20:53 | xdegaye | create | |
|