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/_util/target
Sloane Hertel 2769f5621b
Add find_spec and exec_module to RestrictedModuleLoader (#76427)
* Add find_spec and exec_module to RestrictedModuleLoader

* Fix getting new loader with correct path

Fix pep8 errors

* Use convert_ansible_name_to_absolute_paths instead of the loader path

* Apply suggestions from code review

* Fix type hints and test them in CI

* Fix error message for ansible.module_utils.basic if it's missing

Add mypy ignored missing imports for controller sanity tests

* Add mypy attr-defined ignore entries for python 3.8, 3.9, 3.10 for vendored six

Add mypy attr-defined ignore for python 2.7 in lib/ansible/utils/collection_loader/_collection_finder.py

* Just test controller python versions to simplify ignoring mypy errors
3 years ago
..
cli ansible-test - Remove invalid type hint. 3 years ago
common ansible-test - Clean up future boilerplate. (#76874) 3 years ago
injector ansible-test - Create injector scripts at runtime. (#75761) 3 years ago
pytest/plugins Update collection loader for Python 3.10 (#76225) 3 years ago
sanity Add find_spec and exec_module to RestrictedModuleLoader (#76427) 3 years ago
setup ansible-test - Code cleanup and refactoring. (#77169) 3 years ago
tools ansible-test - Clean up future boilerplate. (#76874) 3 years ago
__init__.py ansible-test - Clean up future boilerplate. (#76874) 3 years ago