Skip to content

Commit 2b4b14f

Browse files
committed
Ignore dialyzer warning
1 parent 5c613da commit 2b4b14f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.dialyzer_ignore.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[
2+
{"lib/grax/rdf/loader.ex", :guard_fail},
3+
{"lib/grax/rdf/preloader.ex", :guard_fail}
4+
]

mix.exs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ defmodule Grax.MixProject do
9494

9595
defp dialyzer do
9696
[
97-
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
97+
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
98+
ignore_warnings: ".dialyzer_ignore.exs",
99+
# Error out when an ignore rule is no longer useful so we can remove it
100+
list_unused_filters: true
98101
]
99102
end
100103

0 commit comments

Comments
 (0)