-
Notifications
You must be signed in to change notification settings - Fork 38
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 python-interface as a file type #292
Conversation
Signed-off-by: ryan <ryang@waabi.ai>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! We should also be able to update linters/mypy/plugin.yaml
and add python-interface
to the list of supported filetypes there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make sure you also add comments: -hash
like for python.
Added. @laurit17 wondering why is the |
Hi @Ryang20718. It's primarily necessary for some other functionality within trunk, specifically, supporting trunk-ignore. |
Thanks for the contribution! Note that you'll need to point your trunk.yaml plugin ref to |
Thanks Tyler for helping merge! |
Add .pyi file extension as a file type. Contents should python interfaces/stubs.
Could also add under "python" since contents should just be python, but not sure if that's kosher.