Closed pre-commit-ci[bot] closed 2 days ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 83.09%. Comparing base (
20aeaf8
) to head (807fb1d
). Report is 4 commits behind head on devel.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
deepmd/utils/data.py:445:17: E721 Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
|
443 | for kk in data:
444 | if (
445 | type(data[kk]) == np.ndarray
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E721
446 | and len(data[kk].shape) == 2
447 | and data[kk].shape[0] == nframes
|
source/tests/common/test_argument_parser.py:177:20: E721 Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
|
175 | else:
176 | t = data["type"]
177 | if t == str:
| ^^^^^^^^ E721
178 | required.append("STRING")
179 | elif t in (int, float):
|
Found 2 errors.
updates: