mirror of https://github.com/ansible/ansible.git
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.
47ab59753c
* 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 |
1 year ago | |
---|---|---|
.. | ||
ci | 2 years ago | |
classification | 1 year ago | |
cli | 2 years ago | |
commands | 1 year ago | |
compat | 2 years ago | |
dev | 2 years ago | |
provider | 1 year ago | |
__init__.py | 1 year ago | |
ansible_util.py | 1 year ago | |
become.py | 2 years ago | |
bootstrap.py | 2 years ago | |
cache.py | 2 years ago | |
cgroup.py | 2 years ago | |
completion.py | 2 years ago | |
config.py | 2 years ago | |
connections.py | 2 years ago | |
constants.py | 2 years ago | |
containers.py | 1 year ago | |
content_config.py | 2 years ago | |
core_ci.py | 1 year ago | |
coverage_util.py | 1 year ago | |
data.py | 2 years ago | |
delegation.py | 2 years ago | |
diff.py | 2 years ago | |
docker_util.py | 2 years ago | |
encoding.py | 2 years ago | |
executor.py | 2 years ago | |
git.py | 2 years ago | |
host_configs.py | 2 years ago | |
host_profiles.py | 2 years ago | |
http.py | 2 years ago | |
init.py | 3 years ago | |
inventory.py | 2 years ago | |
io.py | 2 years ago | |
junit_xml.py | 3 years ago | |
locale_util.py | 2 years ago | |
metadata.py | 2 years ago | |
payload.py | 1 year ago | |
provisioning.py | 1 year ago | |
pypi_proxy.py | 1 year ago | |
python_requirements.py | 1 year ago | |
ssh.py | 2 years ago | |
target.py | 2 years ago | |
test.py | 2 years ago | |
thread.py | 2 years ago | |
timeout.py | 2 years ago | |
util.py | 1 year ago | |
util_common.py | 1 year ago | |
venv.py | 2 years ago |