From 18ff9f7ff9bce85988d4f00f0a3de7acdeaab61c Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Fri, 10 Nov 2023 13:43:05 -0800 Subject: [PATCH] `mypy` update changed linting rules --- packages/python/lsprotocol/_hooks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/python/lsprotocol/_hooks.py b/packages/python/lsprotocol/_hooks.py index a421439..b807e9f 100644 --- a/packages/python/lsprotocol/_hooks.py +++ b/packages/python/lsprotocol/_hooks.py @@ -1223,7 +1223,7 @@ def _with_custom_unstructure(cls: type) -> Any: rename=_to_camel_case(a.name), omit_if_default=_omit(cls, a.name), ) - for a in attrs.fields(cls) # type: ignore + for a in attrs.fields(cls) } return cattrs.gen.make_dict_unstructure_fn(cls, converter, **attributes) @@ -1233,7 +1233,7 @@ def _with_custom_structure(cls: type) -> Any: rename=_to_camel_case(a.name), omit_if_default=_omit(cls, a.name), ) - for a in attrs.fields(cls) # type: ignore + for a in attrs.fields(cls) } return cattrs.gen.make_dict_structure_fn(cls, converter, **attributes)