Skip to content

Commit

Permalink
Python remove Mypy work around from the docs (#2243)
Browse files Browse the repository at this point in the history
Co-authored-by: Phillip Carter <pcarter@fastmail.com>
  • Loading branch information
jenshnielsen and cartermp authored Feb 26, 2023
1 parent 4dc478d commit 8014f27
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 8014f27

Please sign in to comment.