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

Enable UFMT format on test/test_utils.py #125996

Closed
wants to merge 3 commits into from

Conversation

hippocookie
Copy link
Contributor

Fixes some files in #123062

Run lintrunner on files:
test/test_utils.py

$ lintrunner -a --take UFMT --all-files
ok No lint issues.
Successfully applied all patches.

Copy link

pytorch-bot bot commented May 11, 2024

🔗 Helpful Links

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

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

✅ No Failures

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

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

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label May 11, 2024
@hippocookie hippocookie marked this pull request as ready for review May 11, 2024 07:15
Comment on lines 581 to 649
p = subprocess.Popen(command, stdout=subprocess.PIPE, # noqa: P204
stderr=subprocess.PIPE, shell=True)
p = subprocess.Popen(
command,
stdout=subprocess.PIPE, # noqa: P204
stderr=subprocess.PIPE,
shell=True,
)
Copy link
Contributor

Choose a reason for hiding this comment

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

the location of noqa may be wrong

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe it's unnecessary, let me try to remove it.

@ezyang ezyang self-requested a review May 14, 2024 18:07
@ezyang ezyang added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label May 14, 2024
@ezyang
Copy link
Contributor

ezyang commented May 14, 2024

is clean

@ezyang
Copy link
Contributor

ezyang commented May 14, 2024

@pytorchbot merge -i

Copy link

pytorch-bot bot commented May 14, 2024

This PR needs to be approved by an authorized maintainer before merge.

@ezyang
Copy link
Contributor

ezyang commented May 15, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label May 15, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@hippocookie hippocookie deleted the enable_ufmt2 branch May 16, 2024 01:16
ZelboK pushed a commit to ZelboK/pytorch that referenced this pull request May 19, 2024
Fixes some files in pytorch#123062

Run lintrunner on files:
test/test_utils.py

```bash
$ lintrunner -a --take UFMT --all-files
ok No lint issues.
Successfully applied all patches.
Pull Request resolved: pytorch#125996
Approved by: https://github.com/ezyang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request Merged open source topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants