-
Notifications
You must be signed in to change notification settings - Fork 691
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
#8975, #8981, #8983 rebased #9051
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot. That preserve commit history, so it's better than just squashing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Terrific!
You may need to be careful to not reserve the branch name phadej-rebased
— we may need it in the future 😉
We should not forget to close the base PRs when this one is merged... |
I'm putting the delay-passed passed label because the actual changes have been reviewed in the past and this PR is only a tool to make sure those change land on |
This helps disabling individual packages (e.g. cabal-testsuite)
This is affect of using indentOfAtLeast method: any indentation greater than current offset is fine. That behavior is desirable to parsing multiline field contents, but it is a bit surprising for fields, which we expect to be aligned. Such insonsistency seems to be always a mistake, and it's easy to fix once a machine points it out.
As it runs fourmolu only on modified files, it's a lot faster.
For example `parseGenericPackageDescription` validates input it passes to `readFields'`. That is desirable: we want try to parse non-UTF8 inputs, and report as a warning if they are not UTF8. (There are non-UTF8 .cabal files on Hackage, e.g. with German names).
Well done. Thank you again. |
#8975, #8981 and #8983, cherry picked.
Please include the following checklist in your PR:
Bonus points for added automated tests!