Open mccoyp opened 1 year ago
Update: code generated with DPG is pyright
-compliant, but Key Vault can't be generated in this way yet because of its multiapi
use. Text Analytics is in a similar boat; it was made as compliant as possible, but checks can't be enabled until generated code can be updated to be compliant. Excluding the _generated
path with configuration probably won't resolve all warnings because of how pyright
follows types that are imported from any included code.
As is pointed out in https://github.com/Azure/azure-sdk-for-python/issues/29448, Key Vault libraries currently raise some
pyright
errors. We should clean up any errors for eachazure-keyvault-*
package and enablepyright
checks in CI afterwards by removingpyright = false
from eachpyproject.toml
(example).The guidance in static_type_checking.md and static_type_checking_cheat_sheet.md should be helpful to guide this work.
azure-keyvault-administration
azure-keyvault-certificates
azure-keyvault-keys
azure-keyvault-secrets