Skip to content

Commit a74f4f0

Browse files
committed
Fix formatting
1 parent d66afa0 commit a74f4f0

9 files changed

+7
-11
lines changed

packages/stompman/test_stompman/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
from typing import Any, Literal, Self, TypeVar
66

77
import pytest
8-
from polyfactory.factories.dataclass_factory import DataclassFactory
9-
108
import stompman
9+
from polyfactory.factories.dataclass_factory import DataclassFactory
1110
from stompman.connection import AbstractConnection
1211
from stompman.connection_lifespan import AbstractConnectionLifespan
1312
from stompman.connection_manager import ConnectionManager

packages/stompman/test_stompman/integration.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
from uuid import uuid4
77

88
import pytest
9-
from hypothesis import given, strategies
10-
119
import stompman
10+
from hypothesis import given, strategies
1211
from stompman.serde import (
1312
COMMANDS_TO_FRAMES,
1413
NEWLINE,

packages/stompman/test_stompman/test_connection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from unittest import mock
77

88
import pytest
9-
109
from stompman import (
1110
AnyServerFrame,
1211
BeginFrame,

packages/stompman/test_stompman/test_connection_lifespan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
import faker
88
import pytest
9-
109
import stompman.connection_lifespan
1110
from stompman import (
1211
AnyServerFrame,
@@ -22,6 +21,7 @@
2221
ReceiptFrame,
2322
UnsupportedProtocolVersion,
2423
)
24+
2525
from test_stompman.conftest import (
2626
BaseMockConnection,
2727
EnrichedClient,

packages/stompman/test_stompman/test_errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from typing import Any
22

33
import pytest
4-
54
import stompman
5+
66
from test_stompman.conftest import build_dataclass
77

88

packages/stompman/test_stompman/test_frame_serde.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import pytest
2-
32
from stompman import (
43
AckFrame,
54
AnyClientFrame,

packages/stompman/test_stompman/test_subscription.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
import faker
77
import pytest
8-
98
import stompman.subscription
109
from stompman import (
1110
AckFrame,
@@ -21,6 +20,7 @@
2120
SubscribeFrame,
2221
UnsubscribeFrame,
2322
)
23+
2424
from test_stompman.conftest import (
2525
CONNECT_FRAME,
2626
CONNECTED_FRAME,

packages/stompman/test_stompman/test_transaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55

66
import faker
77
import pytest
8-
98
import stompman.transaction
109
from stompman import (
1110
AbortFrame,
1211
BeginFrame,
1312
CommitFrame,
1413
SendFrame,
1514
)
15+
1616
from test_stompman.conftest import (
1717
CONNECT_FRAME,
1818
CONNECTED_FRAME,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ignore = [
5252
"PLC2801",
5353
"PLR0913",
5454
]
55-
extend-per-file-ignores = { "tests/*" = ["S101", "SLF001", "ARG", "PLR6301"] }
55+
extend-per-file-ignores = { "*/test_*/*" = ["S101", "SLF001", "ARG", "PLR6301"] }
5656

5757
[tool.pytest.ini_options]
5858
addopts = "--cov -s -vv"

0 commit comments

Comments
 (0)