Skip to content

Show docstring warnings again#279

Merged
matsl merged 2 commits intomasterfrom
show_docstring_warnings_again
Oct 11, 2022
Merged

Show docstring warnings again#279
matsl merged 2 commits intomasterfrom
show_docstring_warnings_again

Conversation

@matsl
Copy link
Copy Markdown
Collaborator

@matsl matsl commented Oct 7, 2022

What

Show docstring warnings again.

Why

When docstring warnings are gone we need to keep them under control and echoing them when byte compiling is our best option. This PR makes the build show docstring warnings for the bin and eln targets.

There is a flag that turns all warnings to errors but we have many more warnings still remaining so we are not ready for that yet I think. It can not be set to turn specific warnings to errors.

We could consider to implement our own checker that would parse (or grep) compilation output for specific warnings we want to fail the build on. For now that feels like over engineering. wdyt?

@matsl matsl requested a review from rswgnu October 7, 2022 20:57
@rswgnu
Copy link
Copy Markdown
Owner

rswgnu commented Oct 10, 2022

We could consider to implement our own checker that would parse (or grep) compilation output for specific warnings we want to fail the build on. For now that feels like over engineering. wdyt?

I agree. No need now. Let's see how it goes with the warnings re-enabled.

@matsl matsl force-pushed the show_docstring_warnings_again branch from 479faf3 to dc0fa24 Compare October 10, 2022 21:34
@matsl matsl requested a review from rswgnu October 10, 2022 21:41
@matsl matsl force-pushed the show_docstring_warnings_again branch from dc0fa24 to d953d0f Compare October 11, 2022 20:24
@matsl matsl merged commit 48e1dc6 into master Oct 11, 2022
@matsl matsl deleted the show_docstring_warnings_again branch October 11, 2022 20:29
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