Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track actually modified files, fixes #26 #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mahmoud
Copy link

@mahmoud mahmoud commented Oct 8, 2020

Description

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

Fixes: #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
Copy link
Owner

amyreese commented Oct 9, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StdoutRefactoringTool sets files attribute even when no files need to be modified
2 participants