-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make yaml output pass
ansible-lint
(#160)
* fix: add yaml boundary marker to header Signed-off-by: gardar <[email protected]> * fix: Increase indent of list items in yaml output Signed-off-by: gardar <[email protected]> * fix: make nice yaml formatter optional Signed-off-by: gardar <[email protected]> * fix: make nice yaml argument optional Signed-off-by: gardar <[email protected]> * fix: lint Signed-off-by: gardar <[email protected]> * fix: typos Signed-off-by: gardar <[email protected]> * Apply suggestions from code review Co-authored-by: Felix Fontein <[email protected]> * fix: alphabetical order Signed-off-by: gardar <[email protected]> --------- Signed-off-by: gardar <[email protected]> Co-authored-by: Felix Fontein <[email protected]>
- Loading branch information
1 parent
ff8f587
commit d6f63f0
Showing
6 changed files
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,4 @@ output_formats: | |
- rst | ||
- md | ||
add_plugin_period: false | ||
changelog_nice_yaml: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
minor_changes: | ||
- | | ||
There is now an option ``changelog_nice_yaml`` to prepend the YAML document start | ||
marker ``---`` to the header of the ``changelogs/changelog.yaml`` file, and to increases | ||
indentation level on list items. This makes the file pass ansible-lint | ||
(https://github.com/ansible-community/antsibull-changelog/issues/91, | ||
https://github.com/ansible-community/antsibull-changelog/issues/152, | ||
https://github.com/ansible-community/antsibull-changelog/pull/160). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters