Platform Team/Sugar Lint: Difference between revisions

 
(One intermediate revision by the same user not shown)
Line 13: Line 13:


  git clone git://git.sugarlabs.org/sdk/sugar-lint.git ''<install-path>''
  git clone git://git.sugarlabs.org/sdk/sugar-lint.git ''<install-path>''
cd ''<install-path>''
git submodule update --init


Add sugar-lint command to PATH e.g. to ~/.bashrc (you need to relogin):
Add sugar-lint command to PATH e.g. to ~/.bashrc (you need to relogin):
Line 58: Line 60:


  # pep8: ignore=''code''[,''code'']
  # pep8: ignore=''code''[,''code'']
== Customize lint configuration ==
After cloning sugar-lint sources it contain default configuration files and configuration might be tuned to local need at any time. Configuration files are:
* {{Code|sugar_lint/pylintrc}}<br>pylint config file;
* {{Code|sugar_lint/pep8rc}}<br>pep8.py config file;
* {{Code|sugar_lint/indent.pro}}<br>indent and vala-indent config file.


== Getting involved ==
== Getting involved ==