Hi,

just curious to know, why you prefer those && instead of a plain

./gradlew spotlessApply checkstyleMain checkstyleTest javadoc findbugsMain
compileJava compileTestJava

michel

On Mon, Feb 25, 2019 at 7:13 PM Alex Amato <[email protected]> wrote:

> I made a thread about this a while back for java, but I don't think the
> same commands like sptoless work for python.
>
> auto fixing lint issues
> running and quick checks which would fail the PR (without running the
> whole precommit?)
> Something like findbugs to detect common issues (i.e. py3 compliance)
>
> FWIW, this is what I have been using for java. It will catch pretty much
> everything except presubmit test failures.
>
> ./gradlew spotlessApply && ./gradlew checkstyleMain && ./gradlew
> checkstyleTest && ./gradlew javadoc && ./gradlew findbugsMain && ./gradlew
> compileTestJava && ./gradlew compileJava
>

Reply via email to