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

Declarative modules: make sure to emit doc comments and other attributes #4236

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

Tpt
Copy link
Contributor

@Tpt Tpt commented Jun 6, 2024

Reported in #3900 (comment)

@Tpt Tpt changed the title Declarative modules: make sure to emmit doc comments and other attributes Declarative modules: make sure to emit doc comments and other attributes Jun 6, 2024
@alex
Copy link
Contributor

alex commented Jun 6, 2024

Given the existing tests miss this, can you add a new test?

@Tpt
Copy link
Contributor Author

Tpt commented Jun 6, 2024

Given the existing tests miss this, can you add a new test?

Not sure how to write it without having to write a proc macro. I don't think it's possible to selectively enable the missing_doc lint. Do you have an idea?

@Icxolu
Copy link
Contributor

Icxolu commented Jun 6, 2024

Can't you just add it to the pymodule_missing_docs ui test?

@Tpt
Copy link
Contributor Author

Tpt commented Jun 6, 2024

Can't you just add it to the pymodule_missing_docs ui test?

Indeed. Done. Thank you!

@Icxolu Icxolu added this pull request to the merge queue Jun 6, 2024
Merged via the queue into PyO3:main with commit 7461914 Jun 6, 2024
39 checks passed
@Tpt Tpt deleted the module-comment branch June 7, 2024 07:19
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.

4 participants