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

Tweak rebar.config (update deps then fixed issue warnings) #120

Merged
merged 16 commits into from
Jun 28, 2024

Conversation

paulo-ferraz-oliveira
Copy link
Contributor

@paulo-ferraz-oliveira paulo-ferraz-oliveira commented Jun 8, 2024

We update versions of deps and plugins and fix warnings issued from that. It's possible a commit-by-commit review makes it easier to spot how we did stuff.

Further considerations

Most of the changes done previously in #114 where from elvis_core's rule operator_spaces, which is disabled in this pull request.

⚠️ as per #120 (comment) we also up min. supported OTP version to 24.

@paulo-ferraz-oliveira paulo-ferraz-oliveira changed the title Tweak rebar.config Tweak rebar.config (update deps then fixed issue warnings) Jun 8, 2024
@paulo-ferraz-oliveira
Copy link
Contributor Author

CI's failing: I'm up'ing rebar3 version, since it's possible it suffered a fix that CI didn't get to (using 3.14, at this moment)

@paulo-ferraz-oliveira paulo-ferraz-oliveira force-pushed the fix/rebar.config branch 3 times, most recently from 5a37fc0 to 943b044 Compare June 8, 2024 17:55
@codecov-commenter
Copy link

codecov-commenter commented Jun 8, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.40%. Comparing base (05e24b1) to head (4e9012f).
Report is 9 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #120      +/-   ##
==========================================
+ Coverage   76.30%   76.40%   +0.09%     
==========================================
  Files          12       12              
  Lines         764      750      -14     
==========================================
- Hits          583      573      -10     
+ Misses        181      177       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

elvis.config Outdated Show resolved Hide resolved
@paulo-ferraz-oliveira
Copy link
Contributor Author

Merge conflicts are solved.

@paulo-ferraz-oliveira
Copy link
Contributor Author

@tsloughter

?assertMatch(invalid_callback, E)
try
elli:start_link([{callback, elli}])
catch throw:E ->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this change the functionality? Now it is a crash if the exception is anything but throw, while before catch handled exit and error as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a test. I thought it should be more specific, since we know what we're testing, but I can go back on that assumption.

test/elli_tests.erl Outdated Show resolved Hide resolved
@tsloughter
Copy link
Member

Will merge with that one fix.

@tsloughter
Copy link
Member

I figure it its a general function in the tests for use anywhere so may as well cover them all.

@tsloughter tsloughter merged commit 8e94eec into elli-lib:main Jun 28, 2024
2 checks passed
@paulo-ferraz-oliveira paulo-ferraz-oliveira deleted the fix/rebar.config branch June 28, 2024 20:46
@paulo-ferraz-oliveira
Copy link
Contributor Author

Thanks. I'll move to the next one, by rebasing on top of the main branch.

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.

3 participants