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

Report failing filenames when --fix=no in mixed-line-endings #341

Merged

Conversation

gimbo
Copy link
Contributor

@gimbo gimbo commented Nov 26, 2018

Fixes issue 340.

@asottile
Copy link
Member

looks good -- now all that's left is to add a quick test for this and it should be good to merge!

You'll find the capsys fixture useful for testing this behaviour -- if you grep around there's probably a few other examples in this repo

@asottile
Copy link
Member

asottile commented Dec 1, 2018

@gimbo let me know if you want some help writing the test :)

@gimbo
Copy link
Contributor Author

gimbo commented Dec 3, 2018

@asottile Thanks, it's not really a matter of needing help, it's more about time/other commitments. I may get to it; if someone else gets to it before me, great.

@asottile asottile merged commit c65fcd3 into pre-commit:master Dec 3, 2018
@asottile
Copy link
Member

asottile commented Dec 3, 2018

🎉 thanks for the PR @gimbo -- I added some quick lines to test the new output and it looks good!

@gimbo
Copy link
Contributor Author

gimbo commented Dec 4, 2018

Thanks @asottile - that's great! Sorry I wasn't able to close the loop on this one but other work got frantic all of a sudden. :-)

@asottile
Copy link
Member

asottile commented Dec 4, 2018

No problem! Happy to push this the last mile!

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

Successfully merging this pull request may close these issues.

2 participants