File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/cloudformation_cli_python_lib Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ def generate(self, project):
170170 LOG .debug ("Generate complete" )
171171
172172 def _pre_package (self , build_path ):
173- f = TemporaryFile ("w+b" ) # pylint: disable=R1732
173+ f = TemporaryFile ("w+b" )
174174
175175 with zipfile .ZipFile (f , mode = "w" ) as zip_file :
176176 self ._recursive_relative_write (build_path , build_path , zip_file )
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def __init__(
6565 self .type_name = type_name
6666 self ._model_cls : Type [BaseModel ] = resouce_model_cls
6767 self ._type_configuration_model_cls : Optional [
68- BaseModel
68+ Type [ BaseModel ]
6969 ] = type_configuration_model_cls
7070 self ._handlers : MutableMapping [Action , HandlerSignature ] = {}
7171
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ class UnmodelledRequest:
140140 def to_modelled (
141141 self ,
142142 model_cls : Type [BaseModel ],
143- type_configuration_model_cls : Optional [BaseModel ],
143+ type_configuration_model_cls : Optional [Type [ BaseModel ] ],
144144 ) -> BaseResourceHandlerRequest :
145145 # pylint: disable=protected-access
146146 return BaseResourceHandlerRequest (
You can’t perform that action at this time.
0 commit comments