this repo has no description

[new release] zanuda (2 packages) (1.1.0)

CHANGES:

### New

- Kakadu/zanuda#13: Add lint that discourages matching a tuple using 'match' expression with single branch
(contributed by @s-khechnev)
- Kakadu/zanuda#18: Add lint about unneeded mutually recursive types
(contributed by @s-khechnev)
- Add command line switch '-skip-level-allow <bool>' to enable/disable lints
with level=Allow. False has higher priority than per-lint command line switch
(for example, `-no-string_concat`)
- Add check for configuration file '.zanuda' in CWD.
- Kakadu/zanuda#22: Add 'reviewer' tool to report lint's a Github review.
(contributed by @s-khechnev)
- Kakadu/zanuda#23: Implement a trial version of the Fix module for auto-correction of lints
(contributed by @Artem-Rzhankoff)
- Kakadu/zanuda#28: Add lint about nested if expressions.
(contributed by @Artem-Rzhankoff)
- Kakadu/zanuda#32: Add lint about constructor names that hide default constructor names
(contributed by @nnemakin)
- Kakadu/zanuda#35: Add lints that detects manual implementations of List.map/fold functions
(contributed by @nnemakin)
- Kakadu/zanuda#50: Propose eta reduction when available (contributed by @jegorpopow)
- Kakadu/zanuda#51: Warn about pattern matching on boolean values (contributed by @jegorpopow)
- Kakadu/zanuda#53: Warn about `"%s"` in formatted strings
- Kakadu/zanuda#54: Detection of unused public declarations. (@Kakadu, initial implementation from @jegorpopow)
At the moment support is kind of flaky: it could be broken by several things.

* Custom `public_name` for library may broke detection of `.cmt[i]` files.
* We [need to](https://github.com/ocaml/dune/issues/9724) do 'dune build @check' to generate all required `cmt` files.
- Kakadu/zanuda#56: Simplify lint about license. We look for required doc-comments anywhere in the file,
not only in the beginning.
- Kakadu/zanuda#60: Skip some checks for some source files (configured via '.zanuda'). Currently this is mutability check and phys_equal check

### Changed

- Kakadu/zanuda#15: Split 'string_concat' lint to check separately patterns 'a^b^c' (level=Allow) and 'List.fold_left (^)' (level=Warn).
(reported by @edwintorok)
- Kakadu/zanuda#16: Calculate test coverage.
- The lint 'mutability_check' now checks for mutability in general: references, mutable record fields, etc.

Kakadu 1b731c12 3bc742f3

Changed files
+60
packages
zanuda
zanuda.1.1.0
+60
packages/zanuda/zanuda.1.1.0/opam
···
+
opam-version: "2.0"
+
synopsis: "Linter for OCaml+dune projects"
+
description:
+
"Lints for OCaml projects. Primary usage is for teaching/education"
+
maintainer: ["kakadu@pm.me"]
+
authors: ["Kakadu"]
+
license: "LGPL-3.0-only"
+
tags: ["lint" "test"]
+
homepage: "https://github.com/Kakadu/zanuda"
+
bug-reports: "https://github.com/Kakadu/zanuda/issues"
+
depends: [
+
"dune" {>= "3.4"}
+
"ocaml" {>= "4.14" & < "5.0"}
+
"yojson" {>= "2.0.0"}
+
"sexplib"
+
"ppx_assert"
+
"bisect_ppx"
+
"stdune"
+
"dune-build-info"
+
"angstrom" {>= "0.15.0"}
+
"ppx_expect_nobase"
+
"ppx_optcomp"
+
"base" {with-test}
+
"ppx_assert" {with-test}
+
"ppx_inline_test" {with-test}
+
"ppx_expect" {with-test}
+
"ppx_fields_conv" {with-test}
+
"ppx_deriving" {with-test}
+
"ppx_blob" {with-test}
+
"ppx_show" {with-test}
+
"menhir" {with-test}
+
"ocamlformat" {= "0.26.2" & dev}
+
"odoc" {with-doc}
+
"odig" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
]
+
dev-repo: "git+https://github.com/Kakadu/zanuda.git"
+
url {
+
src:
+
"https://github.com/Kakadu/zanuda/archive/refs/tags/v1.1.0.tar.gz"
+
checksum: [
+
"sha256=5b7deabdb016858a0e19ddfb7647f628a243065f88c5ae9f4c362500d51cea7a"
+
"sha512=ceb852103fbbb88b5eeb8130bc7aa8bffe7130df6645d3298e1bb9b8f7e8f6c7b323ccc474cf92a08d28e7b80e9a96d68fd53de2e51c7c0e7d8e3e82e436b4bc"
+
]
+
}
+
x-commit-hash: "9cc128a139fc7d5f08547e910aaea1573d3019b9"
+