Skip to content

Commit c3e407e

Browse files
MtkN1Kriechi
authored andcommitted
Fix minor linting errors
1 parent f6133d3 commit c3e407e

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

src/wsproto/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
55
A WebSocket implementation.
66
"""
7+
78
from typing import Generator, Optional, Union
89

910
from .connection import Connection, ConnectionState, ConnectionType

src/wsproto/events.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
55
Events that result from processing data on a WebSocket connection.
66
"""
7+
78
from abc import ABC
89
from dataclasses import dataclass, field
910
from typing import Generic, List, Optional, Sequence, TypeVar, Union
@@ -156,7 +157,6 @@ class RejectData(Event):
156157

157158
@dataclass(frozen=True)
158159
class CloseConnection(Event):
159-
160160
"""The end of a Websocket connection, represents a closure frame.
161161
162162
**wsproto does not automatically send a response to a close event.** To

src/wsproto/handshake.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
55
An implementation of WebSocket handshakes.
66
"""
7+
78
from collections import deque
89
from typing import (
910
cast,

src/wsproto/utilities.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
55
Utility functions that do not belong in a separate module.
66
"""
7+
78
import base64
89
import hashlib
910
import os

0 commit comments

Comments
 (0)