Skip to content

Commit

Permalink
Linting fix (deepchem#4086)
Browse files Browse the repository at this point in the history
* Removed extra new line

* Fixed typo  -->
  • Loading branch information
Shiva-sankaran authored Aug 9, 2024
1 parent 051a199 commit 64382bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion deepchem/feat/molecule_featurizers/one_hot_featurizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __init__(self,
if len(charset) != len(set(charset)):
raise ValueError("All values in charset must be unique.")
self.charset = charset
self.max_length = Optional[int]
self.max_length: Optional[int]
if max_length is not None:
self.max_length = int(max_length)
else:
Expand Down
1 change: 0 additions & 1 deletion deepchem/models/torch_models/tests/test_prot_bert.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
except ModuleNotFoundError:
pass


# @pytest.mark.torch
# def test_prot_bert_pretraining_mlm(protein_classification_dataset):
# model_path = 'Rostlab/prot_bert'
Expand Down

0 comments on commit 64382bd

Please sign in to comment.