Skip to content

Conversation

MaxDesiatov
Copy link
Contributor

This prevents possible runtime type errors and helped uncovering #82777. It also server as an improvement o documentation, as provides inferred type annotations for users of this class and callers of its methods.

This prevents possible runtime type errors and helped uncovering #82777. It also server as an improvement o documentation, as provides inferred type annotations for users of this class and callers of its methods.
@MaxDesiatov MaxDesiatov requested a review from edymtt July 3, 2025 18:23
@MaxDesiatov MaxDesiatov requested a review from etcwilde as a code owner July 3, 2025 18:23
@MaxDesiatov MaxDesiatov added the build-script Area → utils: The build script label Jul 3, 2025
@MaxDesiatov MaxDesiatov added the python Flag: Python source code label Jul 3, 2025

for i in range(len(inferred_pipeline_list)):
pipeline = inferred_pipeline_list[i]
inferred_pipeline = inferred_pipeline_list[i]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renaming pipeline here as otherwise we essentially rebound this variable with values of different type, which I don't think plays well with type annotations

@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov MaxDesiatov marked this pull request as draft July 3, 2025 21:41
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test macos

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov
Copy link
Contributor Author

@swift-ci build toolchain amazon linux 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-script Area → utils: The build script python Flag: Python source code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant