Migrate write-good hook to pre-commit 67/64967/8
authorThanh Ha <zxiiro@gmail.com>
Sat, 8 Aug 2020 13:07:57 +0000 (09:07 -0400)
committerThanh Ha <zxiiro@gmail.com>
Sat, 8 Aug 2020 18:36:29 +0000 (14:36 -0400)
commit00f9bc8735bf890b4b0c0487d647627ac2d50fe0
tree692ef7f0ac1eb624f4f9d8c667574a31f2088fba
parent31a4b7fc00fe90494b6efb512ad0f1db02481ff3
Migrate write-good hook to pre-commit

This is a final patch to remove our dependency on the Coala platform
and use only pre-commit moving forward.

This patch also resolves write-good lint issues that were not caught
by the Coala version of write-good due to file ignore rules that
excluded several files from being scanned. With pre-commit we can
create separate rules to exclude more specific scans while no excluding
the file from scans entirely.

Issue: RELENG-2642
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: Ic9a48b2964ff5c689a01f3fd611e69ef9525e055
.coafile [deleted file]
.pre-commit-config.yaml
docs/jjb/lf-ci-jobs.rst
docs/jjb/lf-docker-jobs.rst
docs/jjb/lf-macros.rst
docs/jjb/lf-maven-jobs.rst
docs/jjb/lf-python-jobs.rst
docs/jjb/lf-rtdv3-jobs.rst
tox.ini