Skip to content

Commit

Permalink
reopen mypy check (#2877)
Browse files Browse the repository at this point in the history
* update package.json

* regenerate

* regenerate

* regenerate

* log

* log

* update package.json
  • Loading branch information
msyyc authored Oct 21, 2024
1 parent 5e3e35d commit d2497a3
Show file tree
Hide file tree
Showing 1,443 changed files with 3,713 additions and 3,201 deletions.
8 changes: 8 additions & 0 deletions .chronus/changes/reopen-mypy-2024-9-21-2-42-33.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: fix
packages:
- "@autorest/python"
- "@azure-tools/typespec-python"
---

Added ignore comment in `__init__.py` to avoid mypy error
2 changes: 1 addition & 1 deletion packages/autorest.python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@microsoft.azure/autorest.testserver": "^3.3.50",
"@typespec/http-client-python": "0.3.3",
"@typespec/http-client-python": "0.3.4",
"chalk": "5.3.0",
"typescript": "~5.1.6"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._client import AutoRestHeadTestService
from ._client import AutoRestHeadTestService # type: ignore
from ._version import VERSION

__version__ = VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._client import AutoRestHeadTestService
from ._client import AutoRestHeadTestService # type: ignore

try:
from ._patch import __all__ as _patch_all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._operations import HttpSuccessOperations
from ._operations import HttpSuccessOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._operations import HttpSuccessOperations
from ._operations import HttpSuccessOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._client import AutoRestHeadTestService
from ._client import AutoRestHeadTestService # type: ignore
from ._version import VERSION

__version__ = VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._client import AutoRestHeadTestService
from ._client import AutoRestHeadTestService # type: ignore

try:
from ._patch import __all__ as _patch_all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._operations import HttpSuccessOperations
from ._operations import HttpSuccessOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._operations import HttpSuccessOperations
from ._operations import HttpSuccessOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._client import PollingPagingExample
from ._client import PollingPagingExample # type: ignore
from ._version import VERSION

__version__ = VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._operations import PollingPagingExampleOperationsMixin
from ._operations import PollingPagingExampleOperationsMixin # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._client import PollingPagingExample
from ._client import PollingPagingExample # type: ignore

try:
from ._patch import __all__ as _patch_all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._operations import PollingPagingExampleOperationsMixin
from ._operations import PollingPagingExampleOperationsMixin # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._auto_rest_head_test_service import AutoRestHeadTestService
from ._auto_rest_head_test_service import AutoRestHeadTestService # type: ignore
from ._version import VERSION

__version__ = VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._auto_rest_head_test_service import AutoRestHeadTestService
from ._auto_rest_head_test_service import AutoRestHeadTestService # type: ignore

try:
from ._patch import __all__ as _patch_all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._http_success_operations import HttpSuccessOperations
from ._http_success_operations import HttpSuccessOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._http_success_operations import HttpSuccessOperations
from ._http_success_operations import HttpSuccessOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._multiapi_service_client import MultiapiServiceClient
from ._multiapi_service_client import MultiapiServiceClient # type: ignore

try:
from ._patch import __all__ as _patch_all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._multiapi_service_client import MultiapiServiceClient
from ._multiapi_service_client import MultiapiServiceClient # type: ignore

try:
from ._patch import __all__ as _patch_all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._multiapi_service_client_operations import MultiapiServiceClientOperationsMixin
from ._operation_group_one_operations import OperationGroupOneOperations
from ._multiapi_service_client_operations import MultiapiServiceClientOperationsMixin # type: ignore
from ._operation_group_one_operations import OperationGroupOneOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@
from ._patch import * # pylint: disable=unused-wildcard-import


from ._models_py3 import Error
from ._models_py3 import PagingResult
from ._models_py3 import Product
from ._models_py3 import TestLroAndPagingOptions
from ._models_py3 import ( # type: ignore
Error,
PagingResult,
Product,
TestLroAndPagingOptions,
)
from ._patch import __all__ as _patch_all
from ._patch import *
from ._patch import patch_sdk as _patch_sdk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._multiapi_service_client_operations import MultiapiServiceClientOperationsMixin
from ._operation_group_one_operations import OperationGroupOneOperations
from ._multiapi_service_client_operations import MultiapiServiceClientOperationsMixin # type: ignore
from ._operation_group_one_operations import OperationGroupOneOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._multiapi_service_client import MultiapiServiceClient
from ._multiapi_service_client import MultiapiServiceClient # type: ignore

try:
from ._patch import __all__ as _patch_all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._multiapi_service_client import MultiapiServiceClient
from ._multiapi_service_client import MultiapiServiceClient # type: ignore

try:
from ._patch import __all__ as _patch_all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._multiapi_service_client_operations import MultiapiServiceClientOperationsMixin
from ._operation_group_one_operations import OperationGroupOneOperations
from ._operation_group_two_operations import OperationGroupTwoOperations
from ._multiapi_service_client_operations import MultiapiServiceClientOperationsMixin # type: ignore
from ._operation_group_one_operations import OperationGroupOneOperations # type: ignore
from ._operation_group_two_operations import OperationGroupTwoOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
from ._patch import * # pylint: disable=unused-wildcard-import


from ._models_py3 import Error
from ._models_py3 import ModelTwo
from ._models_py3 import ( # type: ignore
Error,
ModelTwo,
)
from ._patch import __all__ as _patch_all
from ._patch import *
from ._patch import patch_sdk as _patch_sdk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._multiapi_service_client_operations import MultiapiServiceClientOperationsMixin
from ._operation_group_one_operations import OperationGroupOneOperations
from ._operation_group_two_operations import OperationGroupTwoOperations
from ._multiapi_service_client_operations import MultiapiServiceClientOperationsMixin # type: ignore
from ._operation_group_one_operations import OperationGroupOneOperations # type: ignore
from ._operation_group_two_operations import OperationGroupTwoOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._multiapi_service_client import MultiapiServiceClient
from ._multiapi_service_client import MultiapiServiceClient # type: ignore

try:
from ._patch import __all__ as _patch_all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._multiapi_service_client import MultiapiServiceClient
from ._multiapi_service_client import MultiapiServiceClient # type: ignore

try:
from ._patch import __all__ as _patch_all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._multiapi_service_client_operations import MultiapiServiceClientOperationsMixin
from ._operation_group_one_operations import OperationGroupOneOperations
from ._operation_group_two_operations import OperationGroupTwoOperations
from ._multiapi_service_client_operations import MultiapiServiceClientOperationsMixin # type: ignore
from ._operation_group_one_operations import OperationGroupOneOperations # type: ignore
from ._operation_group_two_operations import OperationGroupTwoOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@
from ._patch import * # pylint: disable=unused-wildcard-import


from ._models_py3 import Error
from ._models_py3 import ModelThree
from ._models_py3 import PagingResult
from ._models_py3 import SourcePath
from ._models_py3 import ( # type: ignore
Error,
ModelThree,
PagingResult,
SourcePath,
)

from ._multiapi_service_client_enums import ContentType
from ._multiapi_service_client_enums import ( # type: ignore
ContentType,
)
from ._patch import __all__ as _patch_all
from ._patch import *
from ._patch import patch_sdk as _patch_sdk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._multiapi_service_client_operations import MultiapiServiceClientOperationsMixin
from ._operation_group_one_operations import OperationGroupOneOperations
from ._operation_group_two_operations import OperationGroupTwoOperations
from ._multiapi_service_client_operations import MultiapiServiceClientOperationsMixin # type: ignore
from ._operation_group_one_operations import OperationGroupOneOperations # type: ignore
from ._operation_group_two_operations import OperationGroupTwoOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._auto_rest_duration_test_service import AutoRestDurationTestService
from ._auto_rest_duration_test_service import AutoRestDurationTestService # type: ignore
from ._version import VERSION

__version__ = VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._auto_rest_duration_test_service import AutoRestDurationTestService
from ._auto_rest_duration_test_service import AutoRestDurationTestService # type: ignore

try:
from ._patch import __all__ as _patch_all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._duration_operations import DurationOperations
from ._duration_operations import DurationOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
from ._patch import * # pylint: disable=unused-wildcard-import


from ._models_py3 import Error
from ._models_py3 import ( # type: ignore
Error,
)
from ._patch import __all__ as _patch_all
from ._patch import *
from ._patch import patch_sdk as _patch_sdk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._duration_operations import DurationOperations
from ._duration_operations import DurationOperations # type: ignore

from ._patch import __all__ as _patch_all
from ._patch import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._auto_rest_parameter_grouping_test_service import AutoRestParameterGroupingTestService
from ._auto_rest_parameter_grouping_test_service import AutoRestParameterGroupingTestService # type: ignore
from ._version import VERSION

__version__ = VERSION
Expand Down
Loading

0 comments on commit d2497a3

Please sign in to comment.