Skip to content

Commit

Permalink
Merge branch 'master' into fix-format_issue-spec
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Aug 13, 2019
2 parents 91ab9fd + 81a894b commit fd58ff4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions lib/credo/check.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ defmodule Credo.Check do

@callback explanation_for_params() :: Keyword.t()

@callback format_issue(
issue_meta :: {IssueMeta.t(), SourceFile.t(), list()} | SourceFile.t(),
opts :: Keyword.t()
) ::
Issue.t()
@callback format_issue(issue_meta :: Credo.IssueMeta.t(), opts :: Keyword.t()) :: Issue.t()

@base_category_exit_status_map %{
consistency: 1,
Expand Down
2 changes: 1 addition & 1 deletion lib/credo/issue_meta.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule Credo.IssueMeta do
params (by default).
"""

@type t :: module
@type t :: {__MODULE__, Credo.SourceFile.t(), Keyword.t()}

alias Credo.SourceFile

Expand Down

0 comments on commit fd58ff4

Please sign in to comment.