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 Oct 23, 2024
1 parent 23c7b64 commit 33daa4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deepmd/tf/descriptor/se_atten.py
Original file line number Diff line number Diff line change
Expand Up @@ -2288,7 +2288,9 @@ def enable_compression(
tebd_suffix : str, optional
Same as suffix.
"""
assert tebd_suffix == "", "DescrptDPA1Compat must use the same tebd_suffix as suffix!"
assert (
tebd_suffix == ""
), "DescrptDPA1Compat must use the same tebd_suffix as suffix!"
super().enable_compression(
min_nbor_dist,
graph,
Expand Down

0 comments on commit 33daa4b

Please sign in to comment.