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/units
Matt Clay 4ec023efe0
[stable-2.18] Cover unit tests with mypy (#84084) (#84086)
* Added support for testing unit tests with mypy.
* Added support for ignoring individual mypy error codes.
* Added missing assert on unit tests and marked xfail.
* Added type hints for some unit tests.
* Added ignores for unit tests not passing mypy.
* Fixed incorrect autouse argument in unit test fixtures.
* Fixed minor issues causing problems with mypy in unit tests.

(cherry picked from commit 955e310b4c)
1 year ago
..
_vendor Require `from __future__ import annotations` (#81902) 2 years ago
ansible_test Remove unused validate-modules unit test code 2 years ago
cli [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 1 year ago
config Fix condition for unquoting configuration strings from ini files (#82388) 2 years ago
errors Remove Python 2.x compat from unit tests (#82109) 2 years ago
executor loop_control "early exit" feature (#62151) 1 year ago
galaxy [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 1 year ago
inventory Remove Python 2 compat (via six) from unit tests 2 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock Enable file cache for vaulted host_vars_files vars plugin (#81995) 2 years ago
module_utils [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 1 year ago
modules [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 1 year ago
parsing [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 1 year ago
playbook delay keyword changed from int to float (#83901) 1 year ago
plugins [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 1 year ago
regex Remove Python 2.x compat from unit tests (#82109) 2 years ago
template test: update tests (#83686) 1 year ago
utils [stable-2.18] forward ports of unsafe persistence fixes (#83922) 1 year ago
vars Remove Python 2 compat (via six) from unit tests 2 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
requirements.txt Remove Python 3.10 support for the controller (#83221) 2 years ago
test_context.py Require `from __future__ import annotations` (#81902) 2 years ago
test_no_tty.py Require `from __future__ import annotations` (#81902) 2 years ago