Skip to content

Commit

Permalink
Bump black from 22.12.0 to 23.1.0 (#46)
Browse files Browse the repository at this point in the history
* Bump black from 22.12.0 to 23.1.0

Bumps [black](https://github.com/psf/black) from 22.12.0 to 23.1.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@22.12.0...23.1.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* lint

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrii Kohut <[email protected]>
  • Loading branch information
dependabot[bot] and andriykohut authored Apr 1, 2023
1 parent 79feeea commit 5ea452a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 40 deletions.
2 changes: 0 additions & 2 deletions esdb/streams/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ async def append(
revision: Optional[int] = None,
custom_metadata: Optional[dict] = None,
) -> AppendResult:

options = AppendReq.Options(
stream_identifier=StreamIdentifier(stream_name=stream.encode()),
**{stream_state.value: Empty()}, # type: ignore
Expand Down Expand Up @@ -139,7 +138,6 @@ async def read(
async def read_all(
self, count: Optional[int] = None, backwards=False, subscribe=False, filter_by: Optional[Filter] = None
) -> AsyncIterable[ReadEvent]:

assert subscribe ^ (count is not None), "subscribe and count are mutually exclusive arguments"
request = ReadReq(
options=ReadReq.Options(
Expand Down
70 changes: 33 additions & 37 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ protobuf = "^4.21.8"
[tool.poetry.group.dev.dependencies]
mypy = ">=0.982,<1.2"
mypy-protobuf = "^3.4.0"
black = "^22.10.0"
black = ">=22.10,<24.0"
pytest = "^7.2.0"
isort = "^5.10.1"
pytest-asyncio = ">=0.19,<0.22"
Expand Down

0 comments on commit 5ea452a

Please sign in to comment.