forked from ansible/ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add type hints to ansible.utils.display::Display (ansible#81400)
* Add type hints to ansible.utils.display::Display Fixes ansible#80841 * Avoid circular import * Fix sanity * type hint some of the functions of the module? * Fix units * Not sure about this * Fix some of the issues from reviews * Add changelog * ... * Update lib/ansible/utils/display.py Co-authored-by: Sviatoslav Sydorenko <[email protected]> * remove py2 boilerplate --------- Co-authored-by: Sviatoslav Sydorenko <[email protected]>
- Loading branch information
Showing
7 changed files
with
104 additions
and
59 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
minor_changes: | ||
- Add Python type hints to the Display class (https://github.com/ansible/ansible/issues/80841) | ||
bugfixes: | ||
- vars_prompt - internally convert the ``unsafe`` value to ``bool`` |
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.