mix assay (assay v0.3.0)

View Source

Run incremental Dialyzer using the host project's mix.exs config.

Options

  • --print-config - Print the effective Dialyzer configuration
  • --format FORMAT / -f FORMAT - Output format (text, elixir, github, json, sarif, llm)
    • Can be specified multiple times to output multiple formats
  • --apps APP1,APP2 - Override apps list (comma-separated)
  • --warning-apps APP1,APP2 - Override warning_apps list (comma-separated)
  • --dialyzer-flag FLAG - Pass additional Dialyzer flags
  • --ignore-file PATH - Override ignore file path (default: dialyzer_ignore.exs)
  • --explain-ignores - Show detailed information about which warnings were ignored and which rules matched them

Exit Codes

  • 0 - Clean (no warnings after ignores)
  • 1 - Warnings detected
  • 2 - Error occurred

Examples

mix assay
mix assay --print-config
mix assay --format github --format sarif
mix assay --apps my_app,my_dep
mix assay --dialyzer-flag="--statistics"
mix assay --ignore-file="custom_ignore.exs"
mix assay --explain-ignores