Skip to content

Commit

Permalink
Adjust hank config a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
elbrujohalcon committed Jul 28, 2021
1 parent b1e0348 commit 21fba91
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 17 deletions.
30 changes: 13 additions & 17 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,16 @@
, warn_untyped_record
, debug_info]}.

{profiles, [
{test, [
{extra_src_dirs, ["test/examples"]},
{deps, [ {meck, "0.9.2"}
]},
{erl_opts, [ nowarn_missing_spec, nowarn_export_all ]},
{dialyzer, [
{warnings, [ no_return
, unmatched_returns
, error_handling
]}
]}
]}
]}.
{profiles, [ {test, [ {extra_src_dirs, ["test/examples"]}
, {deps, [{meck, "0.9.2"}]}
, {erl_opts, [nowarn_missing_spec, nowarn_export_all]}
, {dialyzer, [ {warnings, [ no_return
, unmatched_returns
, error_handling
]}
]}
]}
]}.

%% == Common Test ==

Expand Down Expand Up @@ -103,8 +99,8 @@

{hank, [
{ignore, [
{"test/**", unnecessary_function_arguments},
{"test/**", unused_macros},
{"test/**", unused_callbacks}
{"test/*/**", unnecessary_function_arguments},
{"test/*/**", unused_macros},
{"test/*/**", unused_callbacks}
]}
]}.
4 changes: 4 additions & 0 deletions test/elvis_SUITE.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
-module(elvis_SUITE).

-if(?OTP_RELEASE >= 23).
-behaviour(ct_suite).
-endif.

-export([
all/0,
init_per_suite/1,
Expand Down
4 changes: 4 additions & 0 deletions test/project_SUITE.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
-module(project_SUITE).

-if(?OTP_RELEASE >= 23).
-behaviour(ct_suite).
-endif.

-export([
all/0,
init_per_suite/1,
Expand Down
4 changes: 4 additions & 0 deletions test/style_SUITE.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
-module(style_SUITE).

-if(?OTP_RELEASE >= 23).
-behaviour(ct_suite).
-endif.

-export([
all/0,
groups/0,
Expand Down

0 comments on commit 21fba91

Please sign in to comment.