LGTM.com integration
LGTM.com provides static code analyzing, even on a MR basis.
Currently it finds 89 'warnings' / 'recommendations', IMO nothing serious. See https://lgtm.com/projects/g/gnutls/gnutls/alerts/?mode=list.
To enable it, one of the owners/admins of this project has to sign up at lgtm.com, add the project, activate "enable PR code reviews" and add an .lgtm.yml
file to the repo.
Here is an example of how it looks like in the pipeline of an MR: https://gitlab.com/gnuwget/wget2/pipelines/31139239
As an example, the wget2 .lgtm.yml
looks like
path_classifiers:
test:
- unit-tests/files
extraction:
cpp:
prepare:
packages:
- lzip
- libgpgme11-dev
configure:
command: ./bootstrap && ./configure --disable-doc
For a first try you could leave away path_classifiers:
and prepare:
block. LGTM figures out dependencies pretty well - and they have a short response time when having questions.