Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 30, 2021
1 parent 8de7fd5 commit 877d0bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/trainer/connectors/test_callback_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ def _attach_callbacks(trainer_callbacks, model_callbacks):
model = LightningModule()
model.configure_callbacks = lambda: model_callbacks
trainer = Trainer(
checkpoint_callback=False, enable_progress_bar=False, enable_model_summary=None, callbacks=trainer_callbacks)
checkpoint_callback=False, enable_progress_bar=False, enable_model_summary=None, callbacks=trainer_callbacks
)
trainer.model = model
cb_connector = CallbackConnector(trainer)
cb_connector._attach_model_callbacks()
Expand Down

0 comments on commit 877d0bf

Please sign in to comment.