-
Notifications
You must be signed in to change notification settings - Fork 474
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
Remove tuple calls #215
Remove tuple calls #215
Conversation
61591d1
to
5ae2f0a
Compare
```erlang lists:foreach( fun (F) -> erl_tidy:file(F, [{backups, false}, keep_unused]) end, string:split( string:trim( os:cmd("git diff --name-only origin/master | grep \".erl$\"") ), "\n", all ) ). ```
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.
Looks good!
I also ran tests on 22.0-rc1 and those pass as well.
One minor thing I noticed is that there is a mix of tabs and spaces in some files. Not sure if there is an official formatting guide but it looks betters in some editors to have just one. (Just spaces is probably the more popular choice).
The mixed tabs and spaces are probably emacs erlang-mode's fault (historically). Do these modified files have mixed tabs and spaces? I ran erl_tidy on everything that changed (ideally settling on this or a similar tool on a CI basis, but didn't want to inflate this PR beyond things it touched). 69d6df7 |
This is basically a re-implementation of part of #201, this removes tuple calls entirely from the source code, but I refactored the tests last to ensure that backwards compatibility is maintained.
Re: #214