From 2b4447c77c8f3a3793a9ac299cf59b033bcbebd2 Mon Sep 17 00:00:00 2001 From: Oguzhan Mete Ozturk Date: Mon, 9 Sep 2024 22:55:56 -0500 Subject: [PATCH] remove duplicate disableBytesTypePromotions from docs (#660) --- docs/configuration.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 8fdbce7ac..1e30a686c 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -62,8 +62,6 @@ The following settings determine how different types should be evaluated. - **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. -- **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).