From 56f2e6631f542d80895edcd961a1fbf3e7ddc951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonin=20D=C3=A9cimo?= Date: Mon, 20 Jun 2022 10:22:42 +0200 Subject: [PATCH] Enable ocamlformat on ppx_have --- .ocamlformat | 2 ++ .ocamlformat-ignore | 3 +++ ppx_have/ppx_have.ml | 1 - 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .ocamlformat create mode 100644 .ocamlformat-ignore diff --git a/.ocamlformat b/.ocamlformat new file mode 100644 index 0000000..ff26d09 --- /dev/null +++ b/.ocamlformat @@ -0,0 +1,2 @@ +profile = default +version = 0.22.4 diff --git a/.ocamlformat-ignore b/.ocamlformat-ignore new file mode 100644 index 0000000..4091c85 --- /dev/null +++ b/.ocamlformat-ignore @@ -0,0 +1,3 @@ +discover/** +src/** +test/** diff --git a/ppx_have/ppx_have.ml b/ppx_have/ppx_have.ml index 0678603..b824098 100644 --- a/ppx_have/ppx_have.ml +++ b/ppx_have/ppx_have.ml @@ -1,5 +1,4 @@ let all = ref false - let funcs = Hashtbl.create 16 let args_spec =