Coming from a python background have been using flake8 to install pre-commit hooks that check python code for pylint/pep08 violations.
Is there a similar solution available for android?
Came across git-lint but looking for something that is more customized for android project.
Also the lint tool that comes with android tools runs quite long and doesn't seem to be an ideal solution for a pre-commit hook.
Seems using checkstyle.xml with the list of rules is the most standard way. Went through a bunch of open source android projects and most seem to be using checkstyle.xml.
Any other better alternatives out there?
Android lint to the rescue: http://developer.android.com/tools/help/lint.html
You get this for free in Android Studio builds, but also from the command line via Gradle.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With