Skip to content

Write a test that all typer options objects have different help text #1779

@nathanjmcdougall

Description

@nathanjmcdougall

During the first full-codebase run of the usethis-qa-llm-review skill (#1770), we discovered that status_arg in src/usethis/_ui/options.py had a copy-paste bug: its help text said "Docstring style to enforce" (copied from docstyle_arg) instead of "Development status to set".

This shows that LLM-assisted grammar reviews can catch semantic bugs in help text that automated linters miss. It's worth periodically running the usethis-qa-llm-review skill to catch similar issues.

We should create a list with all the typer options and write a test to ensure that none share the same help text to avoid this situation in the future.

Metadata

Metadata

Labels

testingAdditions or improvements to the test suite

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions