From 52a5b964920b5c470b19e4b3a37443b8f5fea405 Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Sat, 31 Oct 2026 19:03:43 +0100 Subject: Add and apply erlfmt --- rebar.config | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'rebar.config') diff --git a/rebar.config b/rebar.config index afe1328..6889d4f 100644 --- a/rebar.config +++ b/rebar.config @@ -1,15 +1,23 @@ {erl_opts, [debug_info, {parse_transform}]}. {deps, [ - {osmo_gsup, {git, "git://git.osmocom.org/erlang/osmo_gsup", {branch, "master"}}} + {osmo_gsup, {git, "git://git.osmocom.org/erlang/osmo_gsup", {branch, "master"}}} ]}. {minimum_otp_vsn, "20.3"}. -{xref_checks, [undefined_function_calls, undefined_functions, - deprecated_function_calls, deprecated_functions]}. +{xref_checks, [ + undefined_function_calls, + undefined_functions, + deprecated_function_calls, + deprecated_functions +]}. {dialyzer, [ - {plt_extra_apps, [kernel, stdlib, erts, tools, inets, compiler]}, - {warnings, [no_improper_lists]} - ]}. + {plt_extra_apps, [kernel, stdlib, erts, tools, inets, compiler]}, + {warnings, [no_improper_lists]} +]}. + +{project_plugins, [erlfmt]}. + +{erlfmt, [{exclude_files, ["src/ipa_proto.erl"]}]}. -- cgit v1.2.3