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

Add TorchFix linter #2179

Merged
merged 3 commits into from
Jun 13, 2023
Merged

Add TorchFix linter #2179

merged 3 commits into from
Jun 13, 2023

Conversation

kit1980
Copy link
Member

@kit1980 kit1980 commented Jun 13, 2023

Add TorchFix linter and fix deprecated usages of assert_allclose to make it pass.

Also move the comments in the flake8 config to separate lines, as more modern flake8 versions do not support inline comments for any of the keys - https://flake8.pycqa.org/en/latest/user/configuration.html

The bandit failure and M1 failures are pre-existing.

@pytorch-bot
Copy link

pytorch-bot bot commented Jun 13, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/text/2179

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

❌ 7 New Failures

As of commit 370019a:

NEW FAILURES - The following jobs have failed:

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

@kit1980 kit1980 requested a review from a team June 13, 2023 00:40
@kit1980 kit1980 marked this pull request as ready for review June 13, 2023 00:55
Copy link
Member

@osalpekar osalpekar left a comment

Choose a reason for hiding this comment

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

LGTM

@kit1980
Copy link
Member Author

kit1980 commented Jun 13, 2023

The tests failing are also pre-existing, see the same errors on a dummy change #2180

So merging this PR.

@kit1980 kit1980 merged commit 60bea66 into main Jun 13, 2023
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.

4 participants