Skip to content

Commit

Permalink
remove duplicate disableBytesTypePromotions from docs (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhanmeteozturk authored Sep 10, 2024
1 parent 521bc44 commit 2b4447c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ The following settings determine how different types should be evaluated.

- <a name="disableBytesTypePromotions"></a> **disableBytesTypePromotions** [boolean]: Disables legacy behavior where `bytearray` and `memoryview` are considered subtypes of `bytes`. [PEP 688](https://peps.python.org/pep-0688/#no-special-meaning-for-bytes) deprecates this behavior, but this switch is provided to restore the older behavior.

- <a name="disableBytesTypePromotions"></a> **disableBytesTypePromotions** [boolean]: Disables legacy behavior where `bytearray` and `memoryview` are considered subtypes of `bytes`. [PEP 688](https://peps.python.org/pep-0688/#no-special-meaning-for-bytes) deprecates this behavior, but this switch is provided to restore the older behavior. The default value for this setting is `true`.

## Type Check Diagnostics Settings
The following settings control pyright’s diagnostic output (warnings or errors).

Expand Down

0 comments on commit 2b4447c

Please sign in to comment.