Skip to content

CI Test: empty commit to see if lgtm.com integration has restarted #12166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

jnothman
Copy link
Member

For no apparent reason, lgtm.com integration hasn't been running for a couple of months. And we've grown a lot of alerts (mostly with thanks to liac-arff and joblib!)

@jnothman
Copy link
Member Author

It seems to be alive now.

@jnothman jnothman closed this Sep 26, 2018
@jnothman jnothman reopened this Sep 26, 2018
@jnothman jnothman closed this Sep 26, 2018
@chrisgavin
Copy link

Hi,

It looks like we weren't receiving webhooks about the scikit-learn repository. Is it possible the webhook was deactivated in the GitHub web interface?

I'm glad the integration appears to be working again for you now.

Thanks,
Chris from LGTM

@rth
Copy link
Member

rth commented Sep 26, 2018

And we've grown a lot of alerts (mostly with thanks to liac-arff and joblib!)

I saw that too. Reported it to https://github.com/tomMoral/loky/issues/172, for liac-arff it doesn't seem too relevant.

BTW, @chrisgavin if I look at false positives, the following ones happen quite often,

import io
from io import StringIO

will raise a warning Module 'io' is imported with both 'import' and 'import from' (I think), while IMO it shouldn't, it's a fairly common pattern.

Another thing is,

try:
  something
except:  # noqa: E722
  something else

or,

except BaseException:

will raise Except block directly handles BaseException. while that's explicitly what we want here.

I can report it somewhere else if that would be more appropriate, but e.g. https://github.com/lgtmco/lgtm appears archived..

@aibaars
Copy link

aibaars commented Sep 26, 2018

The right place to report issues would be https://github.com/Semmle/ql or https://discuss.lgtm.com/ . I'll ask a team member to have a look at the issues you reported.

Thanks,
Arthur from LGTM

@amueller
Copy link
Member

amueller commented Oct 1, 2018

did we change to having lgtm comment again instead of having the direct integration?

@jnothman
Copy link
Member Author

jnothman commented Oct 3, 2018 via email

@amueller
Copy link
Member

amueller commented Oct 3, 2018

Maybe it was just a matter of me doing very large changes. Let's see if it keeps being annoying? ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants