Skip to content

Commit

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

updates:
- [github.com/psf/black: 23.7.0 → 23.9.1](psf/black@23.7.0...23.9.1)
- [github.com/astral-sh/ruff-pre-commit: v0.0.285 → v0.0.291](astral-sh/ruff-pre-commit@v0.0.285...v0.0.291)

* [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] committed Dec 9, 2023
1 parent 14aa2b4 commit b2eb184
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.285
rev: v0.0.291
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
3 changes: 1 addition & 2 deletions src/aiotools/taskgroup/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ async def __call__(
exc_type: type[Exception],
exc_obj: Exception,
exc_tb: TracebackType,
) -> None:
...
) -> None: ...


class MultiError(ExceptionGroup):
Expand Down
3 changes: 1 addition & 2 deletions src/aiotools/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

@runtime_checkable
class AsyncClosable(Protocol):
async def close(self) -> None:
...
async def close(self) -> None: ...


# taken from the typeshed
Expand Down

0 comments on commit b2eb184

Please sign in to comment.