ppx_enforceversion Documentation on ocaml.org

PPX that enforces required function calls at compile time

A configurable PPX rewriter that raises compilation errors when required function calls are absent from a source file. The mirror of ppx_forbid. Useful for enforcing coding standards like 'every widget must self-register'. Supports per-project configuration via .ppx_enforce files and [@@@enforce_exempt] attributes for suppression.

Tags ppx lint static-analysis
AuthorMathias Bourgoin <mathias.bourgoin@atacama.tech>
LicenseGPL-3.0-or-later
Published
Homepagehttps://github.com/atacama-dev/ppx_forbid
Issue Trackerhttps://github.com/atacama-dev/ppx_forbid/issues
Documentationhttps://github.com/atacama-dev/ppx_forbid
MaintainerMathias Bourgoin <mathias.bourgoin@atacama.tech>
Dependencies
Source [http] https://github.com/atacama-dev/ppx_forbid/archive/refs/tags/v0.1.0.tar.gz
md5=092a959c08fd1275987c2cc001b9c693
sha512=6f1d5c1e522160d35bb5fc61b0f21bf0e41e1b7a32602fe3aee47f9f878b2d9f8e01307d19c03b8e7da410ab073bbd0ac87a1a744eda56e04046e9e74fcd4888
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_enforce/ppx_enforce.0.1.0/opam
No package is dependent