Skip to content

Commit ba6673d

Browse files
committed
Fix invalid type: ignore that causes mypy to ignore the whole file
1 parent 1fb5127 commit ba6673d

File tree

1 file changed

+3
-2
lines changed
  • opentelemetry-sdk/src/opentelemetry/sdk/resources

1 file changed

+3
-2
lines changed

opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
# type: ignore[reportDeprecated] # ResourceAttributes is deprecated
16-
1715
"""
1816
This package implements `OpenTelemetry Resources
1917
<https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/sdk.md#resource-sdk>`_:
@@ -58,6 +56,9 @@
5856
above example.
5957
"""
6058

59+
# ResourceAttributes is deprecated
60+
# pyright: reportDeprecated=false
61+
6162
import abc
6263
import concurrent.futures
6364
import logging

0 commit comments

Comments
 (0)