-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add ignore blank lines option #747
Add ignore blank lines option #747
Conversation
@MitMaro I'm not sure about why the formatter changed these unrelated lines. I can fix that of course, if you say so ;) |
Pull Request Test Coverage Report for Build 3191134991
💛 - Coveralls |
Thanks for the PR! Looks good, besides the random formatting problems. That might be because of running stable vs nightly Rust. Sadly, rustfmt has a number of things that don't work on stable. For testing, if you run |
Also, there are some lint failures that are not related to your PR. I will take care of those shortly, to get them out of your way. :) |
Looks like there is one last formatting issue, but otherwise looks good. Can you rebase and squash your commits together along with the remaining formatting issue? That should fix the failing linting issues as well. Otherwise, I looked at the change, and it looks good. Thanks for the doc and test updated! |
29bcf65
to
1b6e5f2
Compare
@MitMaro Good thing i have a tool for that ;). With regard to the formatting: It seems like this one error comes from a unrelated library? |
I had a genuine chuckle at that one! 😆
You are correct that it's coming from a seemingly unrelated library. There is a bug in rustfmt that causes rustfmt to panic/crash when it encounters a long line. The crash is partially caused by a bug in annotate-snippets-rs. What is happening in this PR, is that the |
1b6e5f2
to
354b513
Compare
Thanks for implementing the new option and putting in the effort to get things through the formatter! I'm uncertain if you're participating in Hacktoberfest, but if you are, the PR should be included in your contributions. If not, please let me know, and I will make sure it is. |
closes #581