Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #3236

Merged
merged 3 commits into from
Feb 6, 2024

Conversation

pre-commit-ci[bot]
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented Feb 5, 2024

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.2.0](astral-sh/ruff-pre-commit@v0.1.14...v0.2.0)
Copy link

codecov bot commented Feb 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f5bb131) 21.19% compared to head (f759abd) 74.97%.

Additional details and impacted files
@@             Coverage Diff             @@
##            devel    #3236       +/-   ##
===========================================
+ Coverage   21.19%   74.97%   +53.78%     
===========================================
  Files         363      363               
  Lines       32545    32561       +16     
  Branches     1608     1608               
===========================================
+ Hits         6898    24414    +17516     
+ Misses      25086     7274    -17812     
- Partials      561      873      +312     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@njzjz
Copy link
Member

njzjz commented Feb 5, 2024

warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
  - 'ignore' -> 'lint.ignore'
  - 'ignore-init-module-imports' -> 'lint.ignore-init-module-imports'
  - 'select' -> 'lint.select'
  - 'pydocstyle' -> 'lint.pydocstyle'
deepmd/tf/descriptor/loc_frame.py:346:14: NPY201 `np.cast` will be removed in NumPy 2.0. Use `np.asarray(arr, dtype=dtype)` instead.
deepmd/tf/descriptor/loc_frame.py:346:48: NPY201 `np.cast` will be removed in NumPy 2.0. Use `np.asarray(arr, dtype=dtype)` instead.
deepmd/tf/descriptor/se_a.py:711:14: NPY201 `np.cast` will be removed in NumPy 2.0. Use `np.asarray(arr, dtype=dtype)` instead.
deepmd/tf/descriptor/se_a.py:711:48: NPY201 `np.cast` will be removed in NumPy 2.0. Use `np.asarray(arr, dtype=dtype)` instead.
deepmd/tf/descriptor/se_r.py:503:14: NPY201 `np.cast` will be removed in NumPy 2.0. Use `np.asarray(arr, dtype=dtype)` instead.
deepmd/tf/descriptor/se_r.py:503:48: NPY201 `np.cast` will be removed in NumPy 2.0. Use `np.asarray(arr, dtype=dtype)` instead.
deepmd/tf/descriptor/se_t.py:516:14: NPY201 `np.cast` will be removed in NumPy 2.0. Use `np.asarray(arr, dtype=dtype)` instead.
deepmd/tf/descriptor/se_t.py:516:48: NPY201 `np.cast` will be removed in NumPy 2.0. Use `np.asarray(arr, dtype=dtype)` instead.
Found 8 errors.

@njzjz njzjz self-assigned this Feb 5, 2024
@njzjz njzjz self-requested a review February 5, 2024 20:44
@github-actions github-actions bot added the Python label Feb 5, 2024
@wanghan-iapcm wanghan-iapcm merged commit 37cdccf into devel Feb 6, 2024
80 checks passed
@wanghan-iapcm wanghan-iapcm deleted the pre-commit-ci-update-config branch February 6, 2024 01:32
@njzjz njzjz mentioned this pull request Apr 2, 2024
@njzjz njzjz added this to the v2.2.10 milestone Apr 6, 2024
njzjz pushed a commit to njzjz/deepmd-kit that referenced this pull request Apr 6, 2024
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.14 →
v0.2.0](astral-sh/ruff-pre-commit@v0.1.14...v0.2.0)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 37cdccf)
@njzjz njzjz mentioned this pull request Apr 6, 2024
njzjz pushed a commit that referenced this pull request Apr 6, 2024
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.14 →
v0.2.0](astral-sh/ruff-pre-commit@v0.1.14...v0.2.0)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 37cdccf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants