add pyproject.toml where necessary to honor the existing environment skips. remove existing exclusion lists from environment_exclusion.py ***NO_CI***
This commit is contained in:
Родитель
02dda02fc6
Коммит
2f7c5c13d8
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,3 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,4 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,4 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,4 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,3 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
type_check_samples = false
|
|
@ -0,0 +1,3 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,4 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,4 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,4 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,4 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,4 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
type_check_samples = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,4 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,4 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,3 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
|
@ -0,0 +1,4 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,5 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,6 @@
|
|||
[tool.azure-sdk-build]
|
||||
mypy = false
|
||||
pylint = false
|
||||
pyright = false
|
||||
type_check_samples = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pylint = false
|
|
@ -0,0 +1,3 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
||||
verifytypes = false
|
|
@ -0,0 +1,2 @@
|
|||
[tool.azure-sdk-build]
|
||||
pyright = false
|
|
@ -7,317 +7,6 @@
|
|||
from ci_tools.functions import get_config_setting
|
||||
import os
|
||||
|
||||
PYLINT_OPT_OUT = [
|
||||
"azure-applicationinsights",
|
||||
"azure-batch",
|
||||
"azure-cognitiveservices-anomalydetector",
|
||||
"azure-cognitiveservices-formrecognizer",
|
||||
"azure-cognitiveservices-knowledge-nspkg",
|
||||
"azure-cognitiveservices-knowledge-qnamaker",
|
||||
"azure-cognitiveservices-language-luis",
|
||||
"azure-cognitiveservices-language-nspkg",
|
||||
"azure-cognitiveservices-language-spellcheck",
|
||||
"azure-cognitiveservices-language-textanalytics",
|
||||
"azure-cognitiveservices-nspkg",
|
||||
"azure-cognitiveservices-personalizer",
|
||||
"azure-cognitiveservices-search-autosuggest",
|
||||
"azure-cognitiveservices-search-customimagesearch",
|
||||
"azure-cognitiveservices-search-customsearch",
|
||||
"azure-cognitiveservices-search-entitysearch",
|
||||
"azure-cognitiveservices-search-imagesearch",
|
||||
"azure-cognitiveservices-search-newssearch",
|
||||
"azure-cognitiveservices-search-nspkg",
|
||||
"azure-cognitiveservices-search-videosearch",
|
||||
"azure-cognitiveservices-search-visualsearch",
|
||||
"azure-cognitiveservices-search-websearch",
|
||||
"azure-cognitiveservices-vision-computervision",
|
||||
"azure-cognitiveservices-vision-contentmoderator",
|
||||
"azure-cognitiveservices-vision-customvision",
|
||||
"azure-cognitiveservices-vision-face",
|
||||
"azure-cognitiveservices-vision-nspkg",
|
||||
"azure-common",
|
||||
"azure-nspkg",
|
||||
"azure-servicemanagement-legacy",
|
||||
"azure-graphrbac",
|
||||
"azure-loganalytics",
|
||||
"azure-servicefabric",
|
||||
"azure-template",
|
||||
"azure-keyvault",
|
||||
"azure-synapse",
|
||||
"azure-synapse-artifacts",
|
||||
"azure-synapse-spark",
|
||||
"azure-synapse-accesscontrol",
|
||||
"azure-synapse-monitoring",
|
||||
"azure-synapse-managedprivateendpoints",
|
||||
"azure-synapse-nspkg",
|
||||
"azure-ai-anomalydetector",
|
||||
"azure-security-attestation",
|
||||
"azure-iot-deviceupdate",
|
||||
"azure-purview-nspkg",
|
||||
"azure-purview-scanning",
|
||||
"azure-purview-catalog",
|
||||
"azure-purview-account",
|
||||
"azure-purview-administration",
|
||||
"azure-messaging-nspkg",
|
||||
"azure-agrifood-farming",
|
||||
"azure-developer-loadtesting",
|
||||
"azure-developer-devcenter",
|
||||
"azure-messaging-webpubsubservice",
|
||||
]
|
||||
|
||||
# omit package from running mypy checks
|
||||
MYPY_OPT_OUT = [
|
||||
"azure-agrifood-farming",
|
||||
"azure-ai-anomalydetector",
|
||||
"azure-appconfiguration-provider",
|
||||
"azure-security-attestation",
|
||||
"azure-batch",
|
||||
"azure-communication-chat",
|
||||
"azure-communication-email",
|
||||
"azure-communication-identity",
|
||||
"azure-communication-jobrouter",
|
||||
"azure-communication-networktraversal",
|
||||
"azure-communication-phonenumbers",
|
||||
"azure-communication-rooms",
|
||||
"azure-communication-sms",
|
||||
"azure-cosmos",
|
||||
"azure-confidentialledger",
|
||||
"azure-mgmt-core",
|
||||
"azure-iot-deviceupdate",
|
||||
"azure-digitaltwins-core",
|
||||
"azure-eventhub-checkpointstoreblob",
|
||||
"azure-eventhub-checkpointstoreblob-aio",
|
||||
"azure-eventhub-checkpointstoretable",
|
||||
"azure-developer-loadtesting",
|
||||
"azure-maps-geolocation",
|
||||
"azure-maps-render",
|
||||
"azure-maps-route",
|
||||
"azure-maps-search",
|
||||
"azure-mixedreality-authentication",
|
||||
"azure-ai-ml",
|
||||
"azure-iot-modelsrepository",
|
||||
"azure-monitor-opentelemetry-exporter",
|
||||
"azure-purview-administration",
|
||||
"azure-purview-catalog",
|
||||
"azure-purview-scanning",
|
||||
"azure-schemaregistry",
|
||||
"azure-schemaregistry-avroencoder",
|
||||
"azure-search-documents",
|
||||
"azure-storage-blob",
|
||||
"azure-storage-blob-changefeed",
|
||||
"azure-storage-file-datalake",
|
||||
"azure-storage-file-share",
|
||||
"azure-storage-queue",
|
||||
"azure-synapse-accesscontrol",
|
||||
"azure-synapse-artifacts",
|
||||
"azure-synapse-managedprivateendpoints",
|
||||
"azure-synapse-monitoring",
|
||||
"azure-synapse-spark",
|
||||
"azure-messaging-webpubsubservice",
|
||||
]
|
||||
|
||||
# omit package from running pyright checks
|
||||
PYRIGHT_OPT_OUT = [
|
||||
"azure-agrifood-farming",
|
||||
"azure-ai-anomalydetector",
|
||||
"azure-appconfiguration",
|
||||
"azure-appconfiguration-provider",
|
||||
"azure-security-attestation",
|
||||
"azure-batch",
|
||||
"azure-communication-chat",
|
||||
"azure-communication-email",
|
||||
"azure-communication-identity",
|
||||
"azure-communication-jobrouter",
|
||||
"azure-communication-networktraversal",
|
||||
"azure-communication-phonenumbers",
|
||||
"azure-communication-rooms",
|
||||
"azure-communication-sms",
|
||||
"azure-confidentialledger",
|
||||
"azure-containerregistry",
|
||||
"azure-cosmos",
|
||||
"azure-developer-devcenter",
|
||||
"azure-iot-deviceupdate",
|
||||
"azure-digitaltwins-core",
|
||||
"azure-eventgrid",
|
||||
"azure-eventhub",
|
||||
"azure-eventhub-checkpointstoreblob",
|
||||
"azure-eventhub-checkpointstoreblob-aio",
|
||||
"azure-eventhub-checkpointstoretable",
|
||||
"azure-ai-formrecognizer",
|
||||
"azure-identity",
|
||||
"azure-keyvault-administration",
|
||||
"azure-keyvault-certificates",
|
||||
"azure-keyvault-keys",
|
||||
"azure-keyvault-secrets",
|
||||
"azure-developer-loadtesting",
|
||||
"azure-maps-geolocation",
|
||||
"azure-maps-render",
|
||||
"azure-maps-route",
|
||||
"azure-maps-search",
|
||||
"azure-ai-metricsadvisor",
|
||||
"azure-mixedreality-authentication",
|
||||
"azure-ai-ml",
|
||||
"azure-iot-modelsrepository",
|
||||
"azure-monitor-opentelemetry-exporter",
|
||||
"azure-ai-personalizer",
|
||||
"azure-purview-administration",
|
||||
"azure-purview-catalog",
|
||||
"azure-purview-scanning",
|
||||
"azure-mixedreality-remoterendering",
|
||||
"azure-schemaregistry",
|
||||
"azure-schemaregistry-avroencoder",
|
||||
"azure-search-documents",
|
||||
"azure-servicebus",
|
||||
"azure-storage-blob",
|
||||
"azure-storage-blob-changefeed",
|
||||
"azure-storage-file-datalake",
|
||||
"azure-storage-file-share",
|
||||
"azure-storage-queue",
|
||||
"azure-synapse-accesscontrol",
|
||||
"azure-synapse-artifacts",
|
||||
"azure-synapse-managedprivateendpoints",
|
||||
"azure-synapse-monitoring",
|
||||
"azure-synapse-spark",
|
||||
"azure-data-tables",
|
||||
"azure-ai-textanalytics",
|
||||
"azure-messaging-webpubsubservice",
|
||||
]
|
||||
|
||||
# omit package from running verifytypes checks
|
||||
VERIFYTYPES_OPT_OUT = [
|
||||
"azure-agrifood-farming",
|
||||
"azure-ai-anomalydetector",
|
||||
"azure-appconfiguration",
|
||||
"azure-appconfiguration-provider",
|
||||
"azure-security-attestation",
|
||||
"azure-batch",
|
||||
"azure-communication-chat",
|
||||
"azure-communication-email",
|
||||
"azure-communication-identity",
|
||||
"azure-communication-jobrouter",
|
||||
"azure-communication-networktraversal",
|
||||
"azure-communication-phonenumbers",
|
||||
"azure-communication-rooms",
|
||||
"azure-communication-sms",
|
||||
"azure-confidentialledger",
|
||||
"azure-containerregistry",
|
||||
# If you want to remove azure-core, check to see if azure-identity can also be removed
|
||||
"azure-core",
|
||||
"azure-mgmt-core",
|
||||
"azure-core-experimental",
|
||||
"azure-core-tracing-opencensus",
|
||||
"azure-core-tracing-opentelemetry",
|
||||
"azure-cosmos",
|
||||
"azure-developer-devcenter",
|
||||
# Remove azure-identity once azure-core (AccessToken) typing is completed
|
||||
"azure-identity",
|
||||
"azure-iot-deviceupdate",
|
||||
"azure-digitaltwins-core",
|
||||
"azure-eventgrid",
|
||||
"azure-eventhub",
|
||||
"azure-eventhub-checkpointstoreblob",
|
||||
"azure-eventhub-checkpointstoreblob-aio",
|
||||
"azure-eventhub-checkpointstoretable",
|
||||
"azure-keyvault-administration",
|
||||
"azure-keyvault-certificates",
|
||||
"azure-keyvault-keys",
|
||||
"azure-keyvault-secrets",
|
||||
"azure-developer-loadtesting",
|
||||
"azure-maps-geolocation",
|
||||
"azure-maps-render",
|
||||
"azure-maps-route",
|
||||
"azure-maps-search",
|
||||
"azure-ai-metricsadvisor",
|
||||
"azure-mixedreality-authentication",
|
||||
"azure-ai-ml",
|
||||
"azure-iot-modelsrepository",
|
||||
"azure-monitor-opentelemetry-exporter",
|
||||
"azure-ai-personalizer",
|
||||
"azure-purview-administration",
|
||||
"azure-purview-catalog",
|
||||
"azure-purview-scanning",
|
||||
"azure-mixedreality-remoterendering",
|
||||
"azure-schemaregistry",
|
||||
"azure-schemaregistry-avroencoder",
|
||||
"azure-servicebus",
|
||||
"azure-storage-blob",
|
||||
"azure-storage-blob-changefeed",
|
||||
"azure-storage-file-datalake",
|
||||
"azure-storage-file-share",
|
||||
"azure-storage-queue",
|
||||
"azure-synapse-accesscontrol",
|
||||
"azure-synapse-artifacts",
|
||||
"azure-synapse-managedprivateendpoints",
|
||||
"azure-synapse-monitoring",
|
||||
"azure-synapse-spark",
|
||||
"azure-data-tables",
|
||||
"azure-messaging-webpubsubservice",
|
||||
]
|
||||
|
||||
# omit package from running type checkers on samples
|
||||
# note: if removed from this list, you must enable one or both of mypy or pyright checks.
|
||||
TYPE_CHECK_SAMPLES_OPT_OUT = [
|
||||
"azure-ai-metricsadvisor",
|
||||
"azure-ai-personalizer",
|
||||
"azure-agrifood-farming",
|
||||
"azure-ai-anomalydetector",
|
||||
"azure-ai-formrecognizer",
|
||||
"azure-appconfiguration-provider",
|
||||
"azure-security-attestation",
|
||||
"azure-batch",
|
||||
"azure-communication-chat",
|
||||
"azure-communication-email",
|
||||
"azure-communication-identity",
|
||||
"azure-communication-jobrouter",
|
||||
"azure-communication-networktraversal",
|
||||
"azure-communication-phonenumbers",
|
||||
"azure-communication-rooms",
|
||||
"azure-communication-sms",
|
||||
"azure-confidentialledger",
|
||||
"azure-containerregistry",
|
||||
"azure-cosmos",
|
||||
"azure-developer-devcenter",
|
||||
"azure-iot-deviceupdate",
|
||||
"azure-digitaltwins-core",
|
||||
"azure-eventgrid",
|
||||
"azure-eventhub",
|
||||
"azure-eventhub-checkpointstoreblob",
|
||||
"azure-eventhub-checkpointstoreblob-aio",
|
||||
"azure-eventhub-checkpointstoretable",
|
||||
"azure-keyvault-administration",
|
||||
"azure-keyvault-certificates",
|
||||
"azure-keyvault-keys",
|
||||
"azure-keyvault-secrets",
|
||||
"azure-developer-loadtesting",
|
||||
"azure-maps-geolocation",
|
||||
"azure-maps-render",
|
||||
"azure-maps-route",
|
||||
"azure-maps-search",
|
||||
"azure-mixedreality-authentication",
|
||||
"azure-ai-ml",
|
||||
"azure-iot-modelsrepository",
|
||||
"azure-monitor-opentelemetry-exporter",
|
||||
"azure-monitor-query",
|
||||
"azure-purview-administration",
|
||||
"azure-purview-catalog",
|
||||
"azure-purview-scanning",
|
||||
"azure-mixedreality-remoterendering",
|
||||
"azure-schemaregistry",
|
||||
"azure-schemaregistry-avroencoder",
|
||||
"azure-servicebus",
|
||||
"azure-storage-blob",
|
||||
"azure-storage-blob-changefeed",
|
||||
"azure-storage-file-datalake",
|
||||
"azure-storage-file-share",
|
||||
"azure-storage-queue",
|
||||
"azure-synapse-accesscontrol",
|
||||
"azure-synapse-artifacts",
|
||||
"azure-synapse-managedprivateendpoints",
|
||||
"azure-synapse-monitoring",
|
||||
"azure-synapse-spark",
|
||||
"azure-messaging-webpubsubservice",
|
||||
]
|
||||
|
||||
# --------------------------------------------------------------------------------------------------------------------
|
||||
# DO NOT add packages to the below lists. They are used to omit packages that will never run type checking.
|
||||
#
|
||||
|
@ -363,16 +52,6 @@ def is_check_enabled(package_path: str, check: str, default: bool = True) -> boo
|
|||
enabled = default
|
||||
package_name = os.path.basename(package_path)
|
||||
|
||||
# check the original exclusion lists for the package name
|
||||
exclusions_for_env = []
|
||||
try:
|
||||
exclusions_for_env = globals()[f"{check.strip().upper()}_OPT_OUT"]
|
||||
except Exception as e:
|
||||
pass
|
||||
|
||||
if package_name in exclusions_for_env:
|
||||
enabled = False
|
||||
|
||||
# now pull the new pyproject.toml configuration
|
||||
config = get_config_setting(package_path, check.strip().lower(), True)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче