-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add collection-meta.yaml linter (#617)
* Add collection-meta.yaml linter. * Allow reason=other. * Use StrPath; fix collection missing error reporting. * Replace some manual validation with model validators. * Forgot to reformat. * Fix message. Co-authored-by: Maxwell G <[email protected]> * Improve typing and validator naming, fix lint condition. * Remove nested if. * Improve PyPI version validation. Co-authored-by: Maxwell G <[email protected]> * Quote value. Co-authored-by: Maxwell G <[email protected]> * Add major_ prefix for major version field names. * Re-do PypiVer parsing. * Apparently I undid more things... * Add new reason 'guidelines-violation'. --------- Co-authored-by: Maxwell G <[email protected]>
- Loading branch information
1 parent
9c29a94
commit 821fb6d
Showing
8 changed files
with
314 additions
and
37 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
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,4 @@ | ||
minor_changes: | ||
- "Add subcommand ``lint-collection-meta`` for linting ``collection-meta.yaml`` files in ``ansible-build-data`` (https://github.com/ansible-community/antsibull/pull/617)." | ||
breaking_changes: | ||
- "Antsibull now depends on antsibull-core >= 3.0.0 and pydantic >= 2.0.0 (https://github.com/ansible-community/antsibull/pull/617)." |
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
Oops, something went wrong.