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

Maintenance updates #573

Merged
merged 23 commits into from
Aug 8, 2023
Merged

Maintenance updates #573

merged 23 commits into from
Aug 8, 2023

Conversation

paulo-ferraz-oliveira
Copy link
Collaborator

@paulo-ferraz-oliveira paulo-ferraz-oliveira commented Aug 7, 2023

This isn't as big as it looks, though there's possibly a lotta changes.

I'll self-review and try to guide you through it to ease the task.

Whenever a change is not super-explicit or supported by the commit message I'll add a comment.

Edit: many of the changes in the source files occur because of bebcbc6.

Closes #569.

Before starting to change files in the scope of this branch
This was a throw, before, and was "handled" in the testing env.
It was recently changed to an error, and stopped being handled
The formatter removed throw: from the catch, which ended up making
  it even harder to find
We thus restore some sanity :)
elvis_core used to throw from
  https://github.com/inaka/elvis_core/blob/main/src/elvis_config.erl#L45
It doesn't anymore, which means this test fails
We need to "fake" elvis_config:files/1 too, otherwise we're
  not "loading" anything...
Only keep generated stuff + _* (e.g. for _build and _checkouts)
Bump versions
Add format verifications
Restore full test SUITE
- tweaks erl_opts
- updates versions for dep and plugins
- removed ct_compile_opts
- moves ct specific options to profile `test`
- adds minimum_otp_vsn
- tweaks dialyzer options (removing defaults)
- adds ex_doc
- adds xref
- adds format
rebar.config Outdated Show resolved Hide resolved
@paulo-ferraz-oliveira
Copy link
Collaborator Author

These apparently need some adjustment in the Settings:
image

test/elvis_SUITE.erl Outdated Show resolved Hide resolved
test/elvis_SUITE.erl Outdated Show resolved Hide resolved
@elbrujohalcon elbrujohalcon merged commit 39f27fe into inaka:master Aug 8, 2023
3 checks passed
@paulo-ferraz-oliveira paulo-ferraz-oliveira deleted the feature/minor-maintenance-updates branch August 8, 2023 12:06
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.

Apply a formatter to the code
2 participants