KEMBAR78
Enable mypy lintrunner, Part 2 (codegen/*, docs/*) by mergennachin · Pull Request #7493 · pytorch/executorch · GitHub
Skip to content

Conversation

@mergennachin
Copy link
Contributor

@mergennachin mergennachin commented Jan 3, 2025

Summary:

Enabling mypy for codegen/* and docs/*

For docs, the main problem in export-to-executorch-tutorial.py was redefinition types. Removing the typehints, except the first one.

Test plan

Lintrunner
CI
Internal CI

Summary

Fixes #7441

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 3, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7493

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 594556c with merge base c86b39d (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 3, 2025
@mergennachin mergennachin requested a review from angelayi January 3, 2025 17:01
@facebook-github-bot
Copy link
Contributor

@mergennachin has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Summary:

Enabling mypy for codegen/* and docs/*

Test Plan:

Lintrunner
CI
Internal CI
@facebook-github-bot
Copy link
Contributor

@mergennachin has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@mergennachin mergennachin merged commit c001634 into main Jan 3, 2025
108 checks passed
@mergennachin mergennachin deleted the lints_part_2 branch January 3, 2025 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable mypy typechecker tracker

3 participants