Skip to content

Commit cf0a629

Browse files
committed
fix dadger mypy
1 parent 5908910 commit cf0a629

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

idecomp/decomp/dadger.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -763,11 +763,11 @@ def cria_registro() -> Optional[LU]:
763763
data=[None] * len(ultimo_registro.data),
764764
)
765765
novo_registro.codigo_restricao = (
766-
ultimo_registro.codigo_restricao
766+
ultimo_registro.codigo_restricao # type: ignore
767767
)
768-
novo_registro.limite_inferior = ultimo_registro.limite_inferior
769-
novo_registro.limite_superior = ultimo_registro.limite_superior
770-
novo_registro.estagio = estagio
768+
novo_registro.limite_inferior = ultimo_registro.limite_inferior # type: ignore
769+
novo_registro.limite_superior = ultimo_registro.limite_superior # type: ignore
770+
novo_registro.estagio = estagio # type: ignore
771771
self.data.add_after(ultimo_registro, novo_registro)
772772
return novo_registro
773773
return None
@@ -1383,10 +1383,10 @@ def cria_registro() -> Optional[LV]:
13831383
novo_registro = LV(
13841384
data=[None] * len(ultimo_registro.data),
13851385
)
1386-
novo_registro.codigo_restricao = codigo_restricao
1387-
novo_registro.limite_inferior = ultimo_registro.limite_inferior
1388-
novo_registro.limite_superior = ultimo_registro.limite_superior
1389-
novo_registro.estagio = estagio
1386+
novo_registro.codigo_restricao = codigo_restricao # type: ignore
1387+
novo_registro.limite_inferior = ultimo_registro.limite_inferior # type: ignore
1388+
novo_registro.limite_superior = ultimo_registro.limite_superior # type: ignore
1389+
novo_registro.estagio = estagio # type: ignore
13901390
self.data.add_after(ultimo_registro, novo_registro)
13911391
return novo_registro
13921392
return None
@@ -1550,10 +1550,10 @@ def cria_registro() -> Optional[LQ]:
15501550
novo_registro = LQ(
15511551
data=[None] * len(ultimo_registro.data),
15521552
)
1553-
novo_registro.codigo_restricao = codigo_restricao
1554-
novo_registro.limite_superior = ultimo_registro.limite_superior
1555-
novo_registro.limite_inferior = ultimo_registro.limite_inferior
1556-
novo_registro.estagio = estagio
1553+
novo_registro.codigo_restricao = codigo_restricao # type: ignore
1554+
novo_registro.limite_superior = ultimo_registro.limite_superior # type: ignore
1555+
novo_registro.limite_inferior = ultimo_registro.limite_inferior # type: ignore
1556+
novo_registro.estagio = estagio # type: ignore
15571557
self.data.add_after(ultimo_registro, novo_registro)
15581558
return novo_registro
15591559
return None

0 commit comments

Comments
 (0)