Skip to content

Commit

Permalink
pyright is bullying me again
Browse files Browse the repository at this point in the history
  • Loading branch information
milocress committed Apr 18, 2024
1 parent 20a7703 commit b7db045
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def validate_config(train_config: TrainConfig):
`label` attribute.')
loaders.append(loader)
else:
assert train_config.eval_loader is not None # pyright being pyright
loaders.append(train_config.eval_loader)
for loader in loaders:
if loader['name'] == 'text':
Expand Down

0 comments on commit b7db045

Please sign in to comment.