Replace coala with pre-commit 13/87513/1
authorThanh Ha <zxiiro@gmail.com>
Fri, 7 Feb 2020 20:52:30 +0000 (15:52 -0500)
committerThanh Ha <zxiiro@gmail.com>
Fri, 7 Feb 2020 20:54:28 +0000 (15:54 -0500)
commit8dc18bdc1000407112890c4103b167225de49a7b
treea9b7776f76408d4e9917ccd44eebd832934cb435
parentf5e628d0903d52bf4855277e6032a02a8c45340c
Replace coala with pre-commit

Coala hasn't had a release in years and pre-commit runs a bit faster
and has less requirements (no nodejs).

Additionally pre-commit doesn't just complain about the issues, it
actively resolves the issues for you. Locally a developer can
install the hooks with `pre-commit install` and onwards pre-commit
will automatically run against only the changed files every time
the developer types `git commit`.

A manual run against all files in the repo can be triggered by
running `pre-commit run --all-files`.

Change-Id: I4a065212158665b34da4f269baaa38e3fd4ddb84
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
.coafile [deleted file]
.pre-commit-config.yaml [new file with mode: 0644]
karaf/opendaylight-karaf-resources/src/main/patches/karaf-inc.patch
karaf/opendaylight-karaf-resources/src/main/patches/karaf-instance.bat.patch
karaf/opendaylight-karaf-resources/src/main/patches/karaf-instance.patch
karaf/opendaylight-karaf-resources/src/main/patches/karaf-karaf.bat.patch
karaf/opendaylight-karaf-resources/src/main/patches/karaf-karaf.patch
tox.ini