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