Skip to content
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

Publish to PyPI via github action #247

Merged
merged 9 commits into from
Oct 30, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reblacken
  • Loading branch information
c24t committed Oct 29, 2019
commit 2a5a51e925e6efd9c923cc1b80b89e4b50287b5b
2 changes: 1 addition & 1 deletion ext/opentelemetry-ext-wsgi/tests/test_wsgi_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def test_request_attributes_with_partial_raw_uri(self):
self.validate_url("http://127.0.0.1/#top")

def test_request_attributes_with_partial_raw_uri_and_nonstandard_port(
self
self,
):
self.environ["RAW_URI"] = "/?"
del self.environ["HTTP_HOST"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def to_bytes(context: DistributedContext) -> bytes:
@staticmethod
@abc.abstractmethod
def from_bytes(
byte_representation: bytes
byte_representation: bytes,
) -> typing.Optional[DistributedContext]:
"""Return a DistributedContext that was represented by bytes.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_global_httptextformat() -> httptextformat.HTTPTextFormat:


def set_global_httptextformat(
http_text_format: httptextformat.HTTPTextFormat
http_text_format: httptextformat.HTTPTextFormat,
) -> None:
global _HTTP_TEXT_FORMAT # pylint:disable=global-statement
_HTTP_TEXT_FORMAT = http_text_format
2 changes: 1 addition & 1 deletion opentelemetry-api/src/opentelemetry/trace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ def tracer() -> Tracer:


def set_preferred_tracer_implementation(
factory: ImplementationFactory
factory: ImplementationFactory,
) -> None:
"""Set the factory to be used to create the tracer.

Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-api/src/opentelemetry/util/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def _load_impl(


def set_preferred_default_implementation(
implementation_factory: _UntrustedImplFactory[_T]
implementation_factory: _UntrustedImplFactory[_T],
) -> None:
"""Sets a factory function that may be called for any implementation
object. See the :ref:`module docs <loader-factory>` for more details."""
Expand Down