Skip to content

Commit 0883c9c

Browse files
committed
Add dialyzer.ignore-warnings
1 parent eb31e33 commit 0883c9c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

dialyzer.ignore-warnings

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
:0: Unknown type 'Elixir.Access':get/2
2+
lib/code_corps/guardian.ex:26: The call 'Elixir.Timber':add_context(#{'__struct__':='Elixir.Timber.Contexts.UserContext', 'email':=_, 'id':=_, 'name':=_}) will never return since it differs in the 1st argument from the success typing arguments: (maybe_improper_list())
3+
lib/code_corps/services/markdown_renderer_service.ex:29: Function convert_into_html/1 has no local return
4+
lib/code_corps/services/markdown_renderer_service.ex:35: Function put_into/3 will never be called
5+
lib/code_corps_web/endpoint.ex:1: The call 'Elixir.Timber.Integrations.PhoenixInstrumenter':phoenix_channel_receive('start',compile@1::map(),runtime@1::map()) will never return since it differs in the 1st and 3rd argument from the success typing arguments: ('stop',any(),'ok')
6+
lib/code_corps_web/endpoint.ex:1: The call 'Elixir.Timber.Integrations.PhoenixInstrumenter':phoenix_channel_join('start',compile@1::map(),runtime@1::map()) will never return since it differs in the 1st and 3rd argument from the success typing arguments: ('stop',any(),'ok')

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ defmodule CodeCorps.Mixfile do
1313
elixir: "~> 1.5.2",
1414
elixirc_paths: elixirc_paths(Mix.env),
1515
compilers: [:phoenix, :gettext] ++ Mix.compilers,
16-
dialyzer: [plt_add_apps: [:kernel, :stdlib], plt_add_deps: :transitive],
16+
dialyzer: [ignore_warnings: "dialyzer.ignore-warnings", plt_add_apps: [:kernel, :stdlib], plt_add_deps: :transitive],
1717
build_embedded: Mix.env == :prod,
1818
start_permanent: Mix.env == :prod,
1919
aliases: aliases(),

0 commit comments

Comments
 (0)