You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We did a large change of the PyTorch codebase with ruff in pytorch/pytorch#99890 by enabling C419 with autofixes. It mostly worked out of the box, but we did have to add back in one type comment for mypy that got deleted by the autofix: pytorch/pytorch@ad98f63
The text was updated successfully, but these errors were encountered:
Ok, so it seems like we're not copying over the lbracket and rbracket fields from the ListComp node. Now, this is a challenge as we need to convert it into a GeneratorExp which only has the lpar and rpar fields. We'll need to pick the required parts from the Bracket nodes into the Parenthesis nodes.
We did a large change of the PyTorch codebase with ruff in pytorch/pytorch#99890 by enabling C419 with autofixes. It mostly worked out of the box, but we did have to add back in one type comment for mypy that got deleted by the autofix: pytorch/pytorch@ad98f63
The text was updated successfully, but these errors were encountered: