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 #3454

Merged
merged 2 commits into from
Mar 13, 2024
Merged

Conversation

pre-commit-ci bot added 2 commits March 13, 2024 00:04
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2](astral-sh/ruff-pre-commit@v0.2.2...v0.3.2)
- [github.com/pre-commit/mirrors-clang-format: v17.0.6 → v18.1.1](pre-commit/mirrors-clang-format@v17.0.6...v18.1.1)
Copy link

codecov bot commented Mar 13, 2024

Codecov Report

Attention: Patch coverage is 84.00000% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 77.35%. Comparing base (da9b526) to head (3940f2d).
Report is 2 commits behind head on devel.

Files Patch % Lines
source/ipi/driver.cc 0.00% 3 Missing ⚠️
deepmd/tf/model/multi.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #3454      +/-   ##
==========================================
+ Coverage   77.34%   77.35%   +0.01%     
==========================================
  Files         428      428              
  Lines       37005    36999       -6     
  Branches     1620     1625       +5     
==========================================
  Hits        28621    28621              
+ Misses       7516     7510       -6     
  Partials      868      868              

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

@@ -29,8 +29,7 @@
real_f: Optional[np.ndarray] = None,
relative: Optional[float] = None,
atomic: Literal[False] = False,
) -> Tuple[np.ndarray, np.ndarray, np.ndarray]:
...
) -> Tuple[np.ndarray, np.ndarray, np.ndarray]: ...

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.
@@ -40,8 +39,7 @@
relative: Optional[float] = None,
*,
atomic: Literal[True],
) -> Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray]:
...
) -> Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray]: ...

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.
@@ -65,13 +65,11 @@


@overload
def to_numpy_array(xx: torch.Tensor) -> np.ndarray:
...
def to_numpy_array(xx: torch.Tensor) -> np.ndarray: ...

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.


@overload
def to_numpy_array(xx: None) -> None:
...
def to_numpy_array(xx: None) -> None: ...

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.
@@ -91,13 +89,11 @@


@overload
def to_torch_tensor(xx: np.ndarray) -> torch.Tensor:
...
def to_torch_tensor(xx: np.ndarray) -> torch.Tensor: ...

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.


@overload
def to_torch_tensor(xx: None) -> None:
...
def to_torch_tensor(xx: None) -> None: ...

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.
@njzjz njzjz enabled auto-merge March 13, 2024 03:16
@njzjz njzjz added this pull request to the merge queue Mar 13, 2024
Merged via the queue into devel with commit da68686 Mar 13, 2024
79 of 84 checks passed
@njzjz njzjz deleted the pre-commit-ci-update-config branch March 13, 2024 05:08
@njzjz njzjz mentioned this pull request Apr 2, 2024
@njzjz njzjz added this to the v2.2.10 milestone Apr 6, 2024
njzjz added 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.2.2 →
v0.3.2](astral-sh/ruff-pre-commit@v0.2.2...v0.3.2)
- [github.com/pre-commit/mirrors-clang-format: v17.0.6 →
v18.1.1](pre-commit/mirrors-clang-format@v17.0.6...v18.1.1)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit da68686)
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@njzjz njzjz mentioned this pull request Apr 6, 2024
njzjz added a commit that referenced this pull request Apr 6, 2024
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 →
v0.3.2](astral-sh/ruff-pre-commit@v0.2.2...v0.3.2)
- [github.com/pre-commit/mirrors-clang-format: v17.0.6 →
v18.1.1](pre-commit/mirrors-clang-format@v17.0.6...v18.1.1)
<!--pre-commit.ci end-->

---------

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

Successfully merging this pull request may close these issues.

1 participant