Skip to content

Conversation

@AlexWaygood
Copy link
Member

This takes us back to how things worked prior to 49ba409. See #10939 (review) for an explanation of what's going on here.

# for just these files, but doesn't seem possible yet.
force-exclude = ".*_pb2.pyi"

[tool.ruff]
Copy link
Member Author

@AlexWaygood AlexWaygood Oct 28, 2023

Choose a reason for hiding this comment

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

I moved this table above the tool.ruff.isort table, as I found the current order somewhat confusing

Comment on lines +49 to +51
[tool.ruff.per-file-ignores]
"*_pb2.pyi" = ["I"] # Skip isort rules for files generated with mypy-protobuf

Copy link
Member Author

Choose a reason for hiding this comment

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

This is the only bit of new config in this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants