Skip to content

Conversation

alanhdu
Copy link
Contributor

@alanhdu alanhdu commented Jul 21, 2025

Summary:
Turn python.set_typing(True) on and remove the old pyre configuration. This opts into the per-target type-checking (e.g. arc pyre check-changed-targets).

See https://www.internalfb.com/wiki/Python/Type-annotations-in-python/How_To%3A_Migrate_to_Pyre_Fast_By_Default_Per_Target_Type_Checking/

Differential Revision: D78682161

@meta-cla meta-cla bot added the cla signed label Jul 21, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78682161

alanhdu added a commit to alanhdu/tnt that referenced this pull request Jul 23, 2025
Summary:

Turn `python.set_typing(True)` on and remove the old pyre configuration. This opts into the per-target type-checking (e.g. `arc pyre check-changed-targets`).

See https://www.internalfb.com/wiki/Python/Type-annotations-in-python/How_To%3A_Migrate_to_Pyre_Fast_By_Default_Per_Target_Type_Checking/

Reviewed By: diego-urgell

Differential Revision: D78682161
@alanhdu alanhdu force-pushed the export-D78682161 branch from b191a34 to 9f84d16 Compare July 23, 2025 16:04
Summary:
Pull Request resolved: meta-pytorch#1017

Turn `python.set_typing(True)` on and remove the old pyre configuration. This opts into the per-target type-checking (e.g. `arc pyre check-changed-targets`).

See https://www.internalfb.com/wiki/Python/Type-annotations-in-python/How_To%3A_Migrate_to_Pyre_Fast_By_Default_Per_Target_Type_Checking/

Reviewed By: diego-urgell

Differential Revision: D78682161
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78682161

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants