Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
Signed-off-by: nithinraok <[email protected]>
  • Loading branch information
nithinraok committed Sep 12, 2022
1 parent 93e04b3 commit 4a169f5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/core/test_config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,13 @@ class DummyDataClass:

@pytest.mark.unit
def test_ptl_config(self):
PTL_DEPRECATED = ['distributed_backend', 'automatic_optimization', 'gpus', 'num_processes', 'weights_save_path']
PTL_DEPRECATED = [
'distributed_backend',
'automatic_optimization',
'gpus',
'num_processes',
'weights_save_path',
]

result = config_utils.assert_dataclass_signature_match(ptl.Trainer, TrainerConfig, ignore_args=PTL_DEPRECATED)
signatures_match, cls_subset, dataclass_subset = result
Expand Down

0 comments on commit 4a169f5

Please sign in to comment.