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 Feb 29, 2024
1 parent c03a5ba commit cce52da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion deepmd/dpmodel/model/dp_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class DPModel(make_model(DPAtomicModel), BaseModel):
def data_requirement(self) -> List[DataRequirementItem]:
"""Get the data requirement for the model."""
raise NotImplementedError

Check warning on line 29 in deepmd/dpmodel/model/dp_model.py

View check run for this annotation

Codecov / codecov/patch

deepmd/dpmodel/model/dp_model.py#L29

Added line #L29 was not covered by tests

@classmethod
def update_sel(cls, global_jdata: dict, local_jdata: dict):
"""Update the selection and perform neighbor statistics.
Expand Down
3 changes: 0 additions & 3 deletions deepmd/pt/entrypoints/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@
from deepmd.pt.utils.multi_task import (
preprocess_shared_params,
)
from deepmd.pt.utils.stat import (
make_stat_input,
)
from deepmd.utils.argcheck import (
normalize,
)
Expand Down

0 comments on commit cce52da

Please sign in to comment.