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

lint-collection-docs: improve output formatting #52

Merged

Conversation

felixfontein
Copy link
Collaborator

Example output:

/path/to/ansible_collections/ansible/utils$ antsibull-docs lint-collection-docs . --plugin-docs
plugins/test/in_any_network.py:0:0: Did not return correct DOCUMENTATION
plugins/test/in_any_network.py:0:0: 2 validation errors for PositionalDocSchema
                                    doc -> options -> ip -> description -> 1
                                      str type expected (type=type_error.str)
                                    doc -> options -> networks -> description -> 1
                                      str type expected (type=type_error.str)
plugins/test/in_network.py:0:0: Did not return correct DOCUMENTATION
plugins/test/in_network.py:0:0: 2 validation errors for PositionalDocSchema
                                doc -> options -> ip -> description -> 1
                                  str type expected (type=type_error.str)
                                doc -> options -> network -> description -> 1
                                  str type expected (type=type_error.str)
plugins/test/in_one_network.py:0:0: Did not return correct DOCUMENTATION
plugins/test/in_one_network.py:0:0: 2 validation errors for PositionalDocSchema
                                    doc -> options -> ip -> description -> 1
                                      str type expected (type=type_error.str)
                                    doc -> options -> networks -> description -> 1
                                      str type expected (type=type_error.str)
[...]

@felixfontein felixfontein force-pushed the lint-output-formatting branch from 34827d9 to 3de4cec Compare October 4, 2022 19:31
Copy link
Contributor

@briantist briantist left a comment

Choose a reason for hiding this comment

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

lgtm!

@felixfontein felixfontein merged commit fa422d4 into ansible-community:main Oct 5, 2022
@felixfontein felixfontein deleted the lint-output-formatting branch October 5, 2022 05:33
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