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

CI: add job that checks README.rst against usbsdmux -h output #64

Closed
wants to merge 2 commits into from

Conversation

hnez
Copy link
Member

@hnez hnez commented Dec 21, 2023

The usbsdmux -h output in the README.rst has become out of date with the actual output of the tool.
This can be quite confusing, as it makes it unclear which features the tool has.

Update the README.rst content and make sure it stays up to date via a CI job.

See this job run for an example of the job failing.

The usbsdmux -h output in the README.rst has become out of date with the
actual output in multiple PRs recently.

Make sure that does not happen again.

Signed-off-by: Leonard Göhrs <[email protected]>
A README that does not match the behaviour of the program can be quite
confusing.
Sync the usbsdmux -h output with the actual output.

Signed-off-by: Leonard Göhrs <[email protected]>
@jluebbe jluebbe self-requested a review December 21, 2023 12:52
@SmithChart
Copy link
Member

Nice! Thanks for catching that!

Copy link
Member

@jluebbe jluebbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't add a new workflow for small checks like this. See #65 for an alternative.


optional arguments:
-h, --help show this help message and exit
$ usbsdmux -h
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes the indention from the conventional three spaces to four spaces.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

… conventional three spaces …

Tehe, the reStructuredText format never fails to surprise me.

@hnez
Copy link
Member Author

hnez commented Dec 21, 2023

We shouldn't add a new workflow for small checks like this. See #65 for an alternative.

You are right, adding this to the existing pytests is more sensible.
I will close this PR. Let's go forwards with #65.

@hnez hnez closed this Dec 21, 2023
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.

3 participants