Skip to content

Conversation

@beniwohli
Copy link
Contributor

No description provided.

import time
import zlib
from copy import deepcopy
import multiprocessing

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'multiprocessing' imported but unused

set_transaction_name, set_user_context, tag)
from elasticapm.conf import setup_logging # noqa: F401
from elasticapm.instrumentation.control import instrument, uninstrument # noqa: F401
from elasticapm.traces import capture_span, set_context, set_custom_context, set_transaction_name, set_user_context, tag # noqa: F401 E501

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (139 > 120 characters)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC, we have a limit of 140 chars

Copy link
Contributor Author

@beniwohli beniwohli Feb 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, in the Python agent, it's 120

max-line-length=120

However, I added a # noqa E501 there to ignore this specific violation, guess houndci doesn't get that

@beniwohli beniwohli closed this in 6601ade Feb 13, 2018
beniwohli added a commit that referenced this pull request Feb 13, 2018
@beniwohli beniwohli deleted the hound-integration branch February 14, 2018 08:34
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.

3 participants