Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade fbpcs to per-target typechecking #2414

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

joe1234wu
Copy link
Member

Summary:
We're migrating fbcode to use Pyre's new architecture.

To type check your project:

arc pyre check //fbpcs/...

You can enable this by adding typing = True to individual buck targets OR

# in a PACKAGE file
load("fbcode_macros//build_defs:python.bzl", "python")
python.set_typing(True)

will type check all buck targets nested underneath.

This diff removes the configuration and replaces it with our new buck based architecture and silences any resulting errors.

The test failure is preexisting.

Reviewed By: joe1234wu

Differential Revision: D64347224

@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 Oct 15, 2024
@facebook-github-bot
Copy link
Contributor

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

Summary:

We're migrating fbcode to use  Pyre's new architecture.

To type check your project:

```
arc pyre check //fbpcs/...
```

You can enable this by adding `typing = True` to individual buck targets OR

```
# in a PACKAGE file
load("fbcode_macros//build_defs:python.bzl", "python")
python.set_typing(True)
```
will type check all buck targets nested underneath.

This diff removes the configuration and replaces it with our new buck based architecture and silences any resulting errors.

The test failure is preexisting.

Reviewed By: joe1234wu

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

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

@facebook-github-bot
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants