mirror of
https://github.com/ansible/ansible.git
synced 2026-08-02 00:22:14 +02:00
* release.py - Add missing setuptools arg to prepare
This allows the prepare command to accept the `--no-setuptools` argument.
It also fixes a traceback when using the `prepare` command.
* Use a more accurate type hint
(cherry picked from commit b544ac13ec)
This commit is contained in:
@@ -1243,7 +1243,7 @@ def check_state(allow_stale: bool = False) -> None:
|
|||||||
|
|
||||||
# noinspection PyUnusedLocal
|
# noinspection PyUnusedLocal
|
||||||
@command
|
@command
|
||||||
def prepare(final: bool = False, pre: str | None = None, version: str | None = None) -> None:
|
def prepare(final: bool = False, pre: str | None = None, version: str | None = None, setuptools: bool | None = None) -> None:
|
||||||
"""Prepare a release."""
|
"""Prepare a release."""
|
||||||
command.run(
|
command.run(
|
||||||
update_version,
|
update_version,
|
||||||
|
|||||||
Reference in New Issue
Block a user