Skip to content

Commit 1481cd5

Browse files
Up the CI game (#21)
* Up the CI game * bump rebar3_lint * introduce rebar3_hank * Prevent a dialyzer warning on a consumer lib which happens to be rebar3_hex
1 parent 1f966f5 commit 1481cd5

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

rebar.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
]}.
66
{minimum_otp_vsn, "19.3"}.
77
{deps, []}.
8-
{project_plugins, [erlfmt, rebar3_proper, rebar3_hex, covertool, {rebar3_lint, "0.3.2"}]}.
8+
{project_plugins, [erlfmt, rebar3_proper, rebar3_hex, covertool, rebar3_lint, rebar3_hank]}.
99
{profiles, [
1010
{test, [
1111
{deps, [{proper, "1.3.0"}]},

src/verl_parser.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
-type operator() :: '!=' | '&&' | '<' | '<=' | '==' | '>' | '>=' | '||' | '~>' | bitstring().
66

77
-spec parse_version(verl:version()) ->
8-
{ok, {verl:major(), verl:minor(), verl:patch(), [verl:pre()], [verl:build()]}}
8+
{ok, {verl:major(), verl:minor(), verl:patch(), verl:pre(), [verl:build()]}}
99
| {error, invalid_version}.
1010
parse_version(Str) -> parse_version(Str, false).
1111

1212
-spec parse_version(verl:version(), boolean()) ->
13-
{ok, {verl:major(), verl:minor(), verl:patch(), [verl:pre()], [verl:build()]}}
13+
{ok, {verl:major(), verl:minor(), verl:patch(), verl:pre(), [verl:build()]}}
1414
| {error, invalid_version}.
1515
parse_version(Str, Approximate) when is_binary(Str) ->
1616
try parse_and_convert(Str, Approximate) of

test/verl_SUITE.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
-module(verl_SUITE).
22

33
-compile(export_all).
4+
-hank([{unnecessary_function_arguments, all}]).
45

56
-include_lib("common_test/include/ct.hrl").
67
-include_lib("stdlib/include/assert.hrl").

test/verl_parser_SUITE.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
-module(verl_parser_SUITE).
22

33
-compile(export_all).
4+
-hank([{unnecessary_function_arguments, all}]).
45

56
-include_lib("common_test/include/ct.hrl").
67

0 commit comments

Comments
 (0)