sphinx-contrib / matlabdomain

A Sphinx extension for documenting Matlab code
http://sphinxcontrib-matlabdomain.readthedocs.io/
Other
70 stars 45 forks source link

warn on bad matlab style #18

Closed joeced closed 6 years ago

joeced commented 10 years ago

Originally reported by: Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown)


  1. used builtin as name, EG: (Token.Name.Builtin, 'gamma')
  2. bad indentation
  3. arrays spread over multiple lines without continuation dots
  4. semicolons in properties
  5. tabs instead of spaces
  6. filename function/classdef mismatch
  7. spaces before signature
  8. classdef docstring not indented
  9. empty properties or methods block
  10. function with no args

joeced commented 6 years ago

I think we should leave that to the builtin MATLAB linter. There is no need to further complicate the project.