Skip to content

Commit

Permalink
Fix minor linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MtkN1 authored and Kriechi committed Feb 24, 2024
1 parent f6133d3 commit c3e407e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/wsproto/__init__.py
Expand Up @@ -4,6 +4,7 @@
A WebSocket implementation.
"""

from typing import Generator, Optional, Union

from .connection import Connection, ConnectionState, ConnectionType
Expand Down
2 changes: 1 addition & 1 deletion src/wsproto/events.py
Expand Up @@ -4,6 +4,7 @@
Events that result from processing data on a WebSocket connection.
"""

from abc import ABC
from dataclasses import dataclass, field
from typing import Generic, List, Optional, Sequence, TypeVar, Union
Expand Down Expand Up @@ -156,7 +157,6 @@ class RejectData(Event):

@dataclass(frozen=True)
class CloseConnection(Event):

"""The end of a Websocket connection, represents a closure frame.
**wsproto does not automatically send a response to a close event.** To
Expand Down
1 change: 1 addition & 0 deletions src/wsproto/handshake.py
Expand Up @@ -4,6 +4,7 @@
An implementation of WebSocket handshakes.
"""

from collections import deque
from typing import (
cast,
Expand Down
1 change: 1 addition & 0 deletions src/wsproto/utilities.py
Expand Up @@ -4,6 +4,7 @@
Utility functions that do not belong in a separate module.
"""

import base64
import hashlib
import os
Expand Down

0 comments on commit c3e407e

Please sign in to comment.