Platform Team/Sugar Lint: Difference between revisions

No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{TOCright}}
[[Category:Activity Team]]
== Summary ==
== Summary ==


A set of configuration files and scripts to [http://en.wikipedia.org/wiki/Lint_%28software%29 lint] various sugar related code.
A set of configuration files and scripts to [[wikipedia:Lint_%28software%29|lint]] various sugar related code.


During execution, sugar-lint will lint:
During execution, sugar-lint will lint:
Line 16: 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 62: Line 61:
  # pep8: ignore=''code''[,''code'']
  # pep8: ignore=''code''[,''code'']


== Resources ==
== 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 ==


* [http://git.sugarlabs.org/projects/sugar-lint sources]
* Read the [http://git.sugarlabs.org/sdk/sugar-lint/blobs/master/HACKING HACKING] file to know how to contribute with code.
* Sugar Lint [http://git.sugarlabs.org/sdk/sugar-lint sources].