Skip to content

Adapt DeePMD in Ascend platform (NPU) #2594

Adapt DeePMD in Ascend platform (NPU)

Adapt DeePMD in Ascend platform (NPU) #2594

Triggered via pull request July 15, 2023 04:41
Status Success
Total duration 2m 22s
Artifacts

lint_python.yml

on: pull_request
Matrix: Lint Python
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Lint Python (3.8): deepmd/__init__.py#L1
Imports are incorrectly sorted and/or formatted.
Lint Python (3.8): deepmd/calculator.py#L1
Imports are incorrectly sorted and/or formatted.
Lint Python (3.8): deepmd/common.py#L1
Imports are incorrectly sorted and/or formatted.
Lint Python (3.8): deepmd/env.py#L1
Imports are incorrectly sorted and/or formatted.
Lint Python (3.8): deepmd/cluster/__init__.py#L1
Imports are incorrectly sorted and/or formatted.
Lint Python (3.8): deepmd/cluster/local.py#L1
Imports are incorrectly sorted and/or formatted.
Lint Python (3.8): deepmd/cluster/slurm.py#L1
Imports are incorrectly sorted and/or formatted.
Lint Python (3.8): deepmd/descriptor/__init__.py#L1
Imports are incorrectly sorted and/or formatted.
Lint Python (3.8): deepmd/descriptor/descriptor.py#L1
Imports are incorrectly sorted and/or formatted.
Lint Python (3.8): deepmd/descriptor/hybrid.py#L1
Imports are incorrectly sorted and/or formatted.
Lint Python (3.8): deepmd/common.py#L37
line too long (92 > 88 characters)
Lint Python (3.8): deepmd/common.py#L96
line too long (161 > 88 characters)
Lint Python (3.8): deepmd/common.py#L102
expected 2 blank lines after class or function definition, found 1
Lint Python (3.8): deepmd/common.py#L572
line too long (94 > 88 characters)
Lint Python (3.8): deepmd/common.py#L573
line too long (113 > 88 characters)
Lint Python (3.8): deepmd/common.py#L576
line too long (117 > 88 characters)
Lint Python (3.8): deepmd/common.py#L578
line too long (95 > 88 characters)
Lint Python (3.8): deepmd/env.py#L122
continuation line missing indentation or outdented
Lint Python (3.8): deepmd/env.py#L124
expected 2 blank lines, found 1
Lint Python (3.8): deepmd/env.py#L214
line too long (103 > 88 characters)