From 27cd5e77d839527b418ba5978bf0f5ca10ae976a Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 25 Jan 2023 12:46:09 -0800 Subject: Update mypy and its dependencies. (#79812) * Update mypy and its dependencies. * Fix requirements. * Remove unnecessary matching constraints. --- lib/ansible/template/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ansible/template') diff --git a/lib/ansible/template/__init__.py b/lib/ansible/template/__init__.py index 1498d3f813..f651304202 100644 --- a/lib/ansible/template/__init__.py +++ b/lib/ansible/template/__init__.py @@ -518,7 +518,7 @@ class AnsibleEnvironment(NativeEnvironment): ''' context_class = AnsibleContext template_class = AnsibleJ2Template - concat = staticmethod(ansible_eval_concat) + concat = staticmethod(ansible_eval_concat) # type: ignore[assignment] def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -533,7 +533,7 @@ class AnsibleEnvironment(NativeEnvironment): class AnsibleNativeEnvironment(AnsibleEnvironment): - concat = staticmethod(ansible_native_concat) + concat = staticmethod(ansible_native_concat) # type: ignore[assignment] def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) -- cgit v1.2.1