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

Tests: allow for completely hidden options to not have docstrings #3259

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alwaysintreble
Copy link
Collaborator

What is this fixing or adding?

We have hidden options now, but unit tests still assert that they have docstrings even though said strings can never be user visible in certain cases, so this allows that.

How was this tested?

Removed a docstring from one of my options and ran the test with all the different visibility flags.

If this makes graphical changes, please attach screenshots.

@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label May 3, 2024
@black-sliver
Copy link
Member

I feel like instead of allowing a missing docstring, it should still describe the option even when hidden. i.e. "Replaced by ...".

@Exempt-Medic Exempt-Medic added the is: enhancement Issues requesting new features or pull requests implementing new features. label May 4, 2024
@Berserker66
Copy link
Member

Why?

@alwaysintreble
Copy link
Collaborator Author

Why?

It says why in the description. Being snarky doesn't help anyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: enhancement Issues requesting new features or pull requests implementing new features. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants