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

validate-tags: set default for the --ignore option and add tests #503

Merged
merged 3 commits into from
Apr 3, 2023

Conversation

gotmax23
Copy link
Contributor

@gotmax23 gotmax23 commented Apr 2, 2023

  • validate-tags: set default for the --ignore option
  • add unit tests for validate-tags-file subcommand

When `--ignore` is not passed, the None default causes `Exception`s down
the line when the code tries to iterate over it.

Fixes: 015f935
@gotmax23 gotmax23 marked this pull request as draft April 2, 2023 11:29
The underlying codes relies on sets which apparently don't have
consistent sort order across Pythons.
@gotmax23 gotmax23 marked this pull request as ready for review April 2, 2023 19:04
@gotmax23 gotmax23 merged commit 4a140ed into ansible-community:main Apr 3, 2023
@gotmax23
Copy link
Contributor Author

gotmax23 commented Apr 3, 2023

Thanks for the review!

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.

None yet

2 participants