Skip to content

Commit

Permalink
Remove Mypy work around
Browse files Browse the repository at this point in the history
With the merge of open-telemetry/opentelemetry-python#3143
this work around is no longer required and can be removed from
the docs.
  • Loading branch information
jenshnielsen committed Feb 24, 2023
1 parent ea4709c commit 57c295d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions content/en/docs/instrumentation/python/mypy.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,3 @@ Or, use a command-line switch:
```shell
mypy --namespace-packages
```

## Using the `strict` option

If you're using the `strict` option with mypy, and you're using the
OpenTelemetry Python SDK (instead of just the API), you'll need to also set the
following in your project configuration file:

```toml
[mypy-opentelemetry.sdk.*]
implicit_reexport = True
```

0 comments on commit 57c295d

Please sign in to comment.