mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
CI: add type checking (#10997)
* Set up type checking with mypy. * Make mypy pass. * Use list() instead of sorted().
This commit is contained in:
@@ -36,7 +36,7 @@ try:
|
||||
except ImportError:
|
||||
pytestmark.append(pytest.mark.skip("Could not load gitlab module required for testing"))
|
||||
# Need to set these to something so that we don't fail when parsing
|
||||
GitlabModuleTestCase = object
|
||||
GitlabModuleTestCase = object # type: ignore
|
||||
resp_list_group_access_tokens = _dummy
|
||||
resp_create_group_access_tokens = _dummy
|
||||
resp_revoke_group_access_tokens = _dummy
|
||||
|
||||
Reference in New Issue
Block a user