Skip to content

Disable LGTM for javascript and C++ #14025

Closed

Description

@thomasjpfan

Recently there is an error with LGTM (for C++), that requires this fix in lgtm.yml:

extraction:
  cpp:
    before_index:
      - pip3 install numpy==1.16.3
      - pip3 install --no-deps scipy Cython
    index:
      build_command:
        - python3 setup.py build_ext -i

LGTM has not have any alerts for C++ and Javascript: https://lgtm.com/projects/g/scikit-learn/scikit-learn/alerts/?mode=list

Should we disable LGTM for C++ and Javascript? The closest instruction I found regarding disabling it is here.

Activity

  1. jnothman commented on Jun 5, 2019

    @jnothman
    Member
  2. thomasjpfan commented on Jun 5, 2019

    @thomasjpfan
    MemberAuthor

    While we are at it, we can migrate to the lgtm github app: https://github.com/apps/lgtm-com It places the alerts in the checks tab, not polluting the comment section in the PR.

  3. adrinjalali commented on Jun 9, 2019

    @adrinjalali
    Member

    Does using the app also require this fix? At a glance it seems it may be easier with the app?

  4. thomasjpfan commented on Jun 9, 2019

    @thomasjpfan
    MemberAuthor

    I tried to install the app on a personal project and was unable to disable a language. In the LGTM forums, a staff member mentioned that this feature will be available soon: https://discuss.lgtm.com/t/how-to-turn-off-language-python-support-for-the-c-project/1388/4

  5. jnothman commented on Jun 13, 2019

    @jnothman
    Member

    I've enabled the app. Let's see how it goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions