Skip to content

Commit

Permalink
Update ws init lint formatting (#661)
Browse files Browse the repository at this point in the history
* Update ws init lint formatting

* Added black updates
  • Loading branch information
justinpolygon authored Apr 29, 2024
1 parent 9e83bd8 commit e7b4566
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
48 changes: 24 additions & 24 deletions poetry.lock

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

6 changes: 3 additions & 3 deletions polygon/websocket/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ async def connect(
self.schedule_resub = False

try:
cmsg: Union[
List[WebSocketMessage], Union[str, bytes]
] = await asyncio.wait_for(s.recv(), timeout=1)
cmsg: Union[List[WebSocketMessage], Union[str, bytes]] = (
await asyncio.wait_for(s.recv(), timeout=1)
)
except asyncio.TimeoutError:
continue

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ websockets = ">=10.3,<13.0"
certifi = ">=2022.5.18,<2025.0.0"

[tool.poetry.dev-dependencies]
black = "^23.12.1"
black = "^24.4.2"
mypy = "^1.10"
types-urllib3 = "^1.26.25"
Sphinx = "^7.1.2"
Expand Down

0 comments on commit e7b4566

Please sign in to comment.