Skip to content

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

Closed
jnothman wants to merge 1 commit into
scikit-learn:masterfrom
jnothman:empty
Closed

jnothman wants to merge 1 commit into
scikit-learn:masterfrom
jnothman:empty

Conversation

@jnothman

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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

rth commented Sep 26, 2018 •

Copy link
Copy Markdown
Member

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

aibaars commented Sep 26, 2018 •

Copy link
Copy Markdown

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

amueller commented Oct 1, 2018

Copy link
Copy Markdown
Member

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

@jnothman

jnothman commented Oct 3, 2018 via email

Copy link
Copy Markdown
Member Author

@amueller

amueller commented Oct 3, 2018

Copy link
Copy Markdown
Member

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