-
Notifications
You must be signed in to change notification settings - Fork 520
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
Conversation
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)
for more information, see https://pre-commit.ci
Codecov ReportAttention: Patch coverage is
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. |
@@ -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
@@ -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
@@ -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
|
||
|
||
@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
@@ -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
|
||
|
||
@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
<!--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>
<!--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>
updates: