You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/lib/ansible_test/_internal
Matt Clay 47ab59753c
Clean up release script (#81488)
* Enable mypy for the entire packaging directory

* Return CompletedProcess only when capturing output

This allows stdout/stderr on CompletedProcess to be `str` instead of `str | None`.
The unused args on CompletedProcess have been removed.
Overload type hints have been added to reflect these changes.

* Relax return type on ensure_venv

This improves consistency with its usage, since `run` accepts `env` of `dict[str, t.Any]`.
Also removed unnecssary `str()` usage when updating `env`.

* Fix type hint on suppress_when

* Fix callable annotation

* Add type hint for command_parser

PyCharm complains about using a protected member, and also that it can't find the type in the type stubs.
However, mypy properly recognizes the type.

* Avoid unnecessary TypeVar usage
11 months ago
..
ci ansible-test - Use raise from to handle exceptions (#80905) 1 year ago
classification Omit pre-built man pages from sdist (#81395) 11 months ago
cli ansible-test - Fix timeout handling (#80764) 1 year ago
commands Clean up release script (#81488) 11 months ago
compat ansible-test - Improve code formatting (#79983) 1 year ago
dev ansible-test - Improve code formatting (#79983) 1 year ago
provider ansible-test - Update source layout detection (#81418) 11 months ago
__init__.py ansible-test - Avoid using atexit module (#81096) 1 year ago
ansible_util.py ansible-test - Update source layout detection (#81418) 11 months ago
become.py ansible-test - Improve code formatting (#79983) 1 year ago
bootstrap.py ansible-test - Improve code formatting (#79983) 1 year ago
cache.py ansible-test - Improve code formatting (#79983) 1 year ago
cgroup.py ansible-test - Improve code formatting (#79983) 1 year ago
completion.py ansible-test - Improve code formatting (#79983) 1 year ago
config.py ansible-test - Remove deprecated features (#80558) 1 year ago
connections.py ansible-test - Improve code formatting (#79983) 1 year ago
constants.py ansible-test - Improve container management. (#78550) 2 years ago
containers.py ansible-test - Avoid using atexit module (#81096) 1 year ago
content_config.py ansible-test - Use more native type hints. (#78435) 2 years ago
core_ci.py ansible-test - Remove obsolete WinRM setup script (#81249) 1 year ago
coverage_util.py add coverage for Python 3.12 (#81125) 1 year ago
data.py ansible-test - Fix traceback when mixing sources (#80801) 1 year ago
delegation.py ansible-test - Remove deprecated features (#80558) 1 year ago
diff.py ansible-test - Use raise from to handle exceptions (#80905) 1 year ago
docker_util.py ansible-test - Always use unique container names (#80724) 1 year ago
encoding.py ansible-test - Use more native type hints. (#78435) 2 years ago
executor.py ansible-test - Improve code formatting (#79983) 1 year ago
git.py ansible-test - local change detection without --fork-point (#79734) 1 year ago
host_configs.py ansible-test - Improve code formatting (#79983) 1 year ago
host_profiles.py ansible-test - Always use unique container names (#80724) 1 year ago
http.py ansible-test - Use raise from to handle exceptions (#80905) 1 year ago
init.py ansible-test - Code cleanup and refactoring. (#77169) 2 years ago
inventory.py ansible-test - Support RSA SHA-1 for SSH clients. 2 years ago
io.py ansible-test - Improve code formatting (#79983) 1 year ago
junit_xml.py ansible-test - split controller/target testing (#75605) 3 years ago
locale_util.py ansible-test - Improve code formatting (#79983) 1 year ago
metadata.py ansible-test - Update git diff handling (#80202) 1 year ago
payload.py ansible-test - Avoid using atexit module (#81096) 1 year ago
provisioning.py ansible-test - Avoid using atexit module (#81096) 1 year ago
pypi_proxy.py ansible-test - Avoid using atexit module (#81096) 1 year ago
python_requirements.py Overhaul package-data sanity test (#81427) 11 months ago
ssh.py ansible-test - Improve code formatting (#79983) 1 year ago
target.py ansible-test - Allow target prefixes to use `_` (#80021) 1 year ago
test.py ansible-test - Fix timeout handling (#80764) 1 year ago
thread.py ansible-test - Improve code formatting (#79983) 1 year ago
timeout.py ansible-test - Fix handling of long timeouts (#80769) 1 year ago
util.py ansible-test - Fix sanity traceback with `-e` opt (#81271) 12 months ago
util_common.py ansible-test - Fix sanity traceback with `-e` opt (#81271) 12 months ago
venv.py ansible-test - Improve code formatting (#79983) 1 year ago