Skip to content

Commit f8eff03

Browse files
Merge branch 'master' into feat-pt-expt-linear
2 parents afcb868 + 3ab3779 commit f8eff03

22 files changed

Lines changed: 357 additions & 57 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
exclude: ^source/3rdparty
3131
- repo: https://github.com/astral-sh/ruff-pre-commit
3232
# Ruff version.
33-
rev: v0.15.5
33+
rev: v0.15.6
3434
hooks:
3535
- id: ruff
3636
args: ["--fix"]
@@ -39,14 +39,6 @@ repos:
3939
- id: ruff-format
4040
exclude: ^source/3rdparty
4141
types_or: [python, pyi, jupyter]
42-
- repo: https://github.com/pycqa/flake8
43-
# flake8 cannot autofix
44-
rev: "7.3.0"
45-
hooks:
46-
- id: flake8
47-
additional_dependencies:
48-
- torchfix==0.7.0
49-
- flake8-pyproject==1.2.3
5042
# numpydoc
5143
- repo: https://github.com/Carreau/velin
5244
rev: 0.0.12
@@ -70,7 +62,7 @@ repos:
7062
- mdformat-gfm-alerts==2.0.0
7163
# C++
7264
- repo: https://github.com/pre-commit/mirrors-clang-format
73-
rev: v22.1.0
65+
rev: v22.1.1
7466
hooks:
7567
- id: clang-format
7668
exclude: ^(source/3rdparty|source/lib/src/gpu/cudart/.+\.inc|.+\.ipynb$|source/tests/infer/.+\.json$)

deepmd/dpmodel/descriptor/hybrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def enable_compression(
245245
table_stride_2: float = 0.1,
246246
check_frequency: int = -1,
247247
) -> None:
248-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
248+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
249249
250250
Parameters
251251
----------

deepmd/dpmodel/descriptor/make_base_descriptor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def enable_compression(
162162
table_stride_2: float = 0.1,
163163
check_frequency: int = -1,
164164
) -> None:
165-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
165+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
166166
167167
Parameters
168168
----------

deepmd/pd/model/descriptor/dpa1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def enable_compression(
600600
table_stride_2: float = 0.1,
601601
check_frequency: int = -1,
602602
) -> None:
603-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
603+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
604604
605605
Parameters
606606
----------

deepmd/pd/model/descriptor/se_a.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def enable_compression(
264264
table_stride_2: float = 0.1,
265265
check_frequency: int = -1,
266266
) -> None:
267-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
267+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
268268
269269
Parameters
270270
----------

deepmd/pt/model/descriptor/dpa1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ def enable_compression(
579579
table_stride_2: float = 0.1,
580580
check_frequency: int = -1,
581581
) -> None:
582-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
582+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
583583
584584
Parameters
585585
----------

deepmd/pt/model/descriptor/hybrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def enable_compression(
237237
table_stride_2: float = 0.1,
238238
check_frequency: int = -1,
239239
) -> None:
240-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
240+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
241241
242242
Parameters
243243
----------

deepmd/pt/model/descriptor/se_a.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def enable_compression(
262262
table_stride_2: float = 0.1,
263263
check_frequency: int = -1,
264264
) -> None:
265-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
265+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
266266
267267
Parameters
268268
----------

deepmd/pt/model/descriptor/se_r.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def enable_compression(
364364
table_stride_2: float = 0.1,
365365
check_frequency: int = -1,
366366
) -> None:
367-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
367+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
368368
369369
Parameters
370370
----------

deepmd/pt/model/descriptor/se_t.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def enable_compression(
289289
table_stride_2: float = 0.1,
290290
check_frequency: int = -1,
291291
) -> None:
292-
"""Receive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
292+
"""Receive the statistics (distance, max_nbor_size and env_mat_range) of the training data.
293293
294294
Parameters
295295
----------

0 commit comments

Comments
 (0)