Skip to content

Commit f45e1cc

Browse files
authored
Merge branch 'main' into main
2 parents b024c84 + d213e02 commit f45e1cc

File tree

35 files changed

+174
-145
lines changed

35 files changed

+174
-145
lines changed

.flake8

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ ignore =
1212
# allow whitespace before ':' (https://github.com/psf/black#slices)
1313
E203
1414

15+
# conflicts with black
16+
E701
17+
E704
18+
1519
exclude =
1620
.bzr
1721
.git

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pylint==3.0.2
22
flake8==6.1.0
33
isort==5.12.0
4-
black==22.3.0
4+
black==24.3.0
55
httpretty==1.1.4
66
mypy==1.9.0
77
sphinx==7.1.2

docs/examples/fork-process-model/flask-gunicorn/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ click==8.1.7
22
Flask==2.3.3
33
googleapis-common-protos==1.52.0
44
grpcio==1.56.0
5-
gunicorn==20.0.4
5+
gunicorn==22.0.0
66
itsdangerous==2.1.2
77
Jinja2==3.1.3
88
MarkupSafe==2.1.3

exporter/opentelemetry-exporter-opencensus/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright The OpenTelemetry Authors
189+
Copyright [yyyy] [name of copyright owner]
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

exporter/opentelemetry-exporter-opencensus/src/opentelemetry/exporter/opencensus/trace_exporter/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ def translate_to_collector(spans: Sequence[ReadableSpan]):
133133
collector_span.parent_span_id = parent_id.to_bytes(8, "big")
134134

135135
if span.context.trace_state is not None:
136-
for (key, value) in span.context.trace_state.items():
136+
for key, value in span.context.trace_state.items():
137137
collector_span.tracestate.entries.add(key=key, value=value)
138138

139139
if span.attributes:
140-
for (key, value) in span.attributes.items():
140+
for key, value in span.attributes.items():
141141
utils.add_proto_attribute_value(
142142
collector_span.attributes, key, value
143143
)
@@ -150,7 +150,7 @@ def translate_to_collector(spans: Sequence[ReadableSpan]):
150150
)
151151

152152
if event.attributes:
153-
for (key, value) in event.attributes.items():
153+
for key, value in event.attributes.items():
154154
utils.add_proto_attribute_value(
155155
collector_annotation.attributes, key, value
156156
)
@@ -183,7 +183,7 @@ def translate_to_collector(spans: Sequence[ReadableSpan]):
183183
)
184184

185185
if link.attributes:
186-
for (key, value) in link.attributes.items():
186+
for key, value in link.attributes.items():
187187
utils.add_proto_attribute_value(
188188
collector_span_link.attributes, key, value
189189
)

exporter/opentelemetry-exporter-otlp-proto-common/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright The OpenTelemetry Authors
189+
Copyright [yyyy] [name of copyright owner]
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

exporter/opentelemetry-exporter-otlp-proto-grpc/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright The OpenTelemetry Authors
189+
Copyright [yyyy] [name of copyright owner]
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

exporter/opentelemetry-exporter-otlp-proto-http/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright The OpenTelemetry Authors
189+
Copyright [yyyy] [name of copyright owner]
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

exporter/opentelemetry-exporter-otlp/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright The OpenTelemetry Authors
189+
Copyright [yyyy] [name of copyright owner]
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

exporter/opentelemetry-exporter-prometheus/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright The OpenTelemetry Authors
189+
Copyright [yyyy] [name of copyright owner]
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)