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

Update OSS black linter version to 24.4.0 #1001

Closed
wants to merge 1 commit into from

Conversation

aakhundov
Copy link
Contributor

Summary: There are some linter errors in OSS trunk caused by D54447738 updating black version to 2024 in fbcode. Here we match the black version in OSS.

Differential Revision: D56340613

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

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

aakhundov added a commit to aakhundov/AITemplate-1 that referenced this pull request Apr 19, 2024
Summary:

There are some [linter errors](https://github.com/facebookincubator/AITemplate/actions/runs/8680791999/job/23802124952) in OSS trunk caused by D54447738 updating black version to 2024 in fbcode. Here we match the black version in OSS.

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

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

@@ -87,6 +87,11 @@ def _find_fusion_root(tensor: Tensor, fusion_patterns: List[Any]) -> int:
dst_op_tensor = dst_op._attrs["outputs"]
if len(dst_op_tensor) != 1:
break
if dst_op_tensor[0]._attrs["is_output"]:

Choose a reason for hiding this comment

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

are these changes expected?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, this was exported from other diff. Let me disconnect this one and re-export.

aakhundov added a commit to aakhundov/AITemplate-1 that referenced this pull request Apr 19, 2024
Summary:

There are some [linter errors](https://github.com/facebookincubator/AITemplate/actions/runs/8680791999/job/23802124952) in OSS trunk caused by D54447738 updating black version to 2024 in fbcode. Here we match the black version in OSS.

Reviewed By: hl475

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

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

aakhundov added a commit to aakhundov/AITemplate-1 that referenced this pull request Apr 19, 2024
Summary:

There are some [linter errors](https://github.com/facebookincubator/AITemplate/actions/runs/8680791999/job/23802124952) in OSS trunk caused by D54447738 updating black version to 2024 in fbcode. Here we match the black version in OSS.

Reviewed By: hl475

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

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

Summary:

There are some [linter errors](https://github.com/facebookincubator/AITemplate/actions/runs/8680791999/job/23802124952) in OSS trunk caused by D54447738 updating black version to 2024 in fbcode. Here we match the black version in OSS.

Reviewed By: hl475

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 0973303.

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 Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants