Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#343)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 6, 2025
1 parent d13ac23 commit 8d97ac7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ repos:
- id: reorder-python-imports
args: [--py37-plus]
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def flatten_batch(batch):


def to_numpy(
x: Union[Batch, dict, list, tuple, np.ndarray, torch.Tensor]
x: Union[Batch, dict, list, tuple, np.ndarray, torch.Tensor],
) -> Union[Batch, dict, list, tuple, np.ndarray, torch.Tensor]:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def _decode_obs(self) -> Union[dict, tuple, np.ndarray]:
""" """

def decode_obs(
buffer: Optional[Union[dict, tuple, ShArray]]
buffer: Optional[Union[dict, tuple, ShArray]],
) -> Union[dict, tuple, np.ndarray]:
"""
Expand Down

0 comments on commit 8d97ac7

Please sign in to comment.