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/module_utils/common/arg_spec
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
..
__init__.py Add argument spec validator (#73335) 5 years ago
test_aliases.py [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 1 year ago
test_module_validate.py Require `from __future__ import annotations` (#81902) 2 years ago
test_sub_spec.py Require `from __future__ import annotations` (#81902) 2 years ago
test_validate_invalid.py Do not convert floats to ints when there is truncation (#83864) 1 year ago
test_validate_valid.py Require `from __future__ import annotations` (#81902) 2 years ago