added ignore types upon package update (setuptools)

This commit is contained in:
lrdossan 2024-10-16 16:57:40 +02:00
parent 8146224392
commit 2703553a36
2 changed files with 3 additions and 3 deletions

View file

@ -129,8 +129,8 @@ _MODEL_CLASSES = [
# Inject the runtime generated MC types into this module.
for _model in _MODEL_CLASSES:
setattr(sys.modules[__name__], _model.__name__, _build_mc_model(_model))
setattr(sys.modules[__name__], _model.__name__, _build_mc_model(_model)) # type: ignore
# Make sure that each of the models is imported if you do a ``import *``.
__all__ = [_model.__name__ for _model in _MODEL_CLASSES] + ["MCModelBase"]
__all__ = [_model.__name__ for _model in _MODEL_CLASSES] + ["MCModelBase"] # type: ignore

View file

@ -147,7 +147,7 @@ class CO2FormData(FormData):
def generate_ventilation_plot(self,
ventilation_transition_times: typing.Optional[list] = None,
occupancy_transition_times: typing.Optional[list] = None,
predictive_CO2: typing.Optional[list] = None) -> dict:
predictive_CO2: typing.Optional[list] = None):
# Plot data (x-axis: times; y-axis: CO2 concentrations)
times_values: list = self.CO2_data['times']