-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.dialyzer_ignore.exs
22 lines (19 loc) · 1.22 KB
/
.dialyzer_ignore.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[
{"lib/horizon/ops/utils.ex", :unknown_function, 67},
{"lib/horizon/nginx_config.ex", :unknown_function, 81},
# Ignore all unknown functions related to Mix.shell/0 and Mix.Project.config/0
~r"lib/horizon/ops/utils.ex:\d+:unknown_function Function Mix.shell/0 does not exist",
~r"lib/horizon/ops/bsd/utils.ex:\d+:unknown_function Function Mix.shell/0 does not exist",
~r"lib/horizon/ops/utils.ex:\d+:unknown_function Function Mix.Project.config/0 does not exist",
~r"lib/horizon/ops/bsd/utils.ex:\d+:unknown_function Function Mix.Project.config/0 does not exist",
~r"lib/mix/tasks/horizon/bsd/init.ex:\d+:unknown_function Function Mix.Project.config/0 does not exist",
# Ignore no_return warnings in horizon/step.ex
~r"lib/horizon/ops/bsd/step.ex:\d+:no_return",
# Ignore unknown type Mix.Release.t/0 warnings
~r"lib/horizon/ops/bsd/step.ex:\d+:\d+:unknown_type Unknown type: Mix.Release.t/0",
~r"lib/horizon/ops/bsd/config.ex:\d+:\d+:unknown_type Unknown type: Mix.Release.t/0",
# Ignore callback info missing for Mix.Task behavior
~r"lib/mix/tasks/horizon/bsd/init.ex:\d+:callback_info_missing",
{"lib/horizon/nginx_config.ex", :unknown_function, 82},
{"lib/horizon/ops/utils.ex", :unknown_function, 77}
]