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/parsing
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
..
fixtures lib/ansible/parsing/ajson.py: added UNIT-tests (#56398) 7 years ago
utils Remove Python 2.x compat from unit tests (#82109) 2 years ago
vault Add vaulted_file test (#83717) 1 year ago
yaml [stable-2.18] forward ports of unsafe persistence fixes (#83922) 1 year ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
test_ajson.py Require `from __future__ import annotations` (#81902) 2 years ago
test_dataloader.py Enable file cache for vaulted host_vars_files vars plugin (#81995) 2 years ago
test_mod_args.py Require `from __future__ import annotations` (#81902) 2 years ago
test_splitter.py [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 1 year ago
test_unquote.py Require `from __future__ import annotations` (#81902) 2 years ago