amyreese / fissix

backport of lib2to3, with enhancements
Other
45 stars 22 forks source link

Track actually modified files, fixes #26 #27

Open mahmoud opened 3 years ago

mahmoud commented 3 years ago

Description

One way to track files which are actually modified, by maintaining a separate list.

Fixes: https://github.com/jreese/fissix/issues/26

Another approach would be to make .files itself accurate. Say the word and I'll make that happen. One clear benefit there is not needing any code changes to modernize's --enforce flag.

amyreese commented 3 years ago

Seems like a reasonable change. Is there a test case that could be added to make sure this doesn't regress? @graingert do you have any further thoughts?