diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 9d7f776..725100d 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -3,4 +3,5 @@ # Rename many modules to snake_case 6e75c5a2b460294d97b50055c4d7ed565a6e3984 - +# Upgrade to ocamlformat.0.26.2 +f16ff96c44d3e1c6055a7fd081fb9b8140506e08 diff --git a/dune-project b/dune-project index e1252eb..066895c 100644 --- a/dune-project +++ b/dune-project @@ -17,9 +17,9 @@ (package (name zanuda) - (synopsis "OCaml linter experiment") + (synopsis "Linter for OCaml+dune projects") (description - "Inspired by https://discuss.ocaml.org/t/how-possible-is-a-clippy-like-linter-for-ocaml") + "Lints for OCaml projects. Primary usage is for teaching/education") (tags (lint test)) (depends @@ -49,7 +49,7 @@ (menhir :with-test) (ocamlformat (and - (= 0.26.1) + (= 0.26.2) :dev)) (odoc :with-doc) (odig :with-doc))) @@ -69,12 +69,10 @@ ppx_expect bisect_ppx curly - ;stdio yojson stdune (angstrom (>= 0.15.0)) - ;(base :with-test) (ocamlformat (and (= 0.26.1) diff --git a/tests/unused_func/Inline_tests.t/.ocamlformat b/tests/unused_func/Inline_tests.t/.ocamlformat index a713829..34784b7 100644 --- a/tests/unused_func/Inline_tests.t/.ocamlformat +++ b/tests/unused_func/Inline_tests.t/.ocamlformat @@ -1,4 +1,5 @@ profile=janestreet -sequence-style=terminator +version=0.26.2 +sequence-style = terminator +field-space=loose max-indent=2 - diff --git a/zanuda.opam b/zanuda.opam index cfb83f4..28809e8 100644 --- a/zanuda.opam +++ b/zanuda.opam @@ -1,8 +1,8 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -synopsis: "OCaml linter experiment" +synopsis: "Linter for OCaml+dune projects" description: - "Inspired by https://discuss.ocaml.org/t/how-possible-is-a-clippy-like-linter-for-ocaml" + "Lints for OCaml projects. Primary usage is for teaching/education" maintainer: ["kakadu@pm.me"] authors: ["Kakadu"] license: "LGPL-3.0-only" @@ -26,7 +26,7 @@ depends: [ "ppx_deriving" {with-test} "ppx_blob" {with-test} "menhir" {with-test} - "ocamlformat" {= "0.26.1" & dev} + "ocamlformat" {= "0.26.2" & dev} "odoc" {with-doc} "odig" {with-doc} ]