Skip to content

Commit 8ffd648

Browse files
author
TOPAPEC
committed
Remove stale type: ignore comments flagged by mypy
1 parent 54bb866 commit 8ffd648

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

benchmark/compare_sasrec_unisrec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
import numpy as np
2626
import pandas as pd
27-
import requests # type: ignore[import-untyped]
27+
import requests
2828
import torch
2929
from tqdm import tqdm
3030

rectools/fast_transformers/unisrec/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def _make_trainer(self, max_epochs: int, val_dl: tp.Any = None) -> pl.Trainer:
185185
return pl.Trainer(
186186
max_epochs=max_epochs,
187187
gradient_clip_val=self.grad_clip,
188-
callbacks=callbacks or None, # type: ignore[arg-type]
188+
callbacks=callbacks or None,
189189
enable_checkpointing=False,
190190
enable_model_summary=False,
191191
logger=self.verbose > 0,

0 commit comments

Comments
 (0)