Skip to content

Release 0.9.11

Compare
Choose a tag to compare
@florianschanda florianschanda released this 26 Aug 13:52
· 268 commits to master since this release

0.9.11

  • MH Lint now contains the three lint-like messages that were part of
    MH Style previously (block comments, relation chaining, and builtin
    redefinition). MH Style no longer issues these messages.

    Note that MH Lint currently operators on a file-by-file basis like,
    just like the other MISS_HIT tools. However this will definitely
    change in the future, as we move to a "per project" analysis for the
    linter. But for now MH Lint can be use just like the other tools.

  • The configuration directive "style rule" for "builtin_redefinition"
    is now a lint rule; while this change is not documented yet properly
    it will mean existing configuration files continue to work. I have
    not yet decided how lint rules will be configurable, but it is
    likely they will share a namespace with the style rules.

  • Added documentation for lint checks, explaining the meaning of
    "low", "medium", and "high" checks.

  • Added GitHub and Travis CI templates to the documentation. Thank you Remi Gau for your contribution.

  • MH Style now correctly vertically aligns annotations. One-line
    annotation blocks were always OK, but multi-line annotations were
    considered continuations (and thus indented in an unnatural way).

  • MH Style has a new rule "spurious_row_comma" which complains about
    trailing or starting commas in matrix and cell expressions (for
    example: [,1,2,])

  • MH Style has a new rule "whitespace_semicolon" which does the same
    as "whitespace_comma", but for semicolons; this means one-line
    matrix expressions are now nicely formatted.

  • MH Style should now only print [fixed] for problems that really
    are fixed. Specifically in files that contain parse errors, we now
    no longer pretend the problems are fixed.

  • Fixed an issue for all MISS_HIT tools where any issue in embedded
    MATLAB code could be reported multiple times.