Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ dev = [
"pytest-asyncio>=0.25.3; python_version >= '3.9'",
"pytest-rerunfailures>=15.0; python_version >= '3.9'",
]

[tool.ruff]
[tool.ruff.lint]
ignore = ["F403", "F405"]
1 change: 0 additions & 1 deletion python/rnet/blocking.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from typing import Unpack
from rnet import ClientParams, Message, Request, Streamer, WebSocketRequest
from typing import (
Optional,
Expand Down
1 change: 0 additions & 1 deletion python/rnet/emulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"""

from enum import Enum, auto
from typing import Optional


class Emulation(Enum):
Expand Down
2 changes: 1 addition & 1 deletion python/rnet/tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from enum import Enum, auto
from pathlib import Path
from typing import List, Optional
from typing import List


class TlsVersion(Enum):
Expand Down
1 change: 0 additions & 1 deletion tests/redirect_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import pytest
import rnet
from rnet import Version, HeaderMap

client = rnet.Client(allow_redirects=True)

Expand Down
2 changes: 1 addition & 1 deletion tests/response_test.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import rnet
from pathlib import Path
from rnet import Version, Multipart, Part, WebSocket, Message
from rnet import Version, Multipart, Part, Message

client = rnet.Client(tls_info=True)

Expand Down
Loading