Skip to content

Commit e79e901

Browse files
Apply ruff formatting
Co-Authored-By: Aaron <AJ> Steers <[email protected]>
1 parent e2c69df commit e79e901

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

unit_tests/sources/declarative/decoders/test_composite_decoder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,9 @@ def test_composite_raw_decoder_csv_parser_values(requests_mock, encoding: str, d
259259

260260

261261
class TestServer(BaseHTTPRequestHandler):
262-
__test__: ClassVar[bool] = False # Prevent pytest from thinking that this is a test class, despite the name
262+
__test__: ClassVar[bool] = (
263+
False # Prevent pytest from thinking that this is a test class, despite the name
264+
)
263265

264266
def do_GET(self) -> None:
265267
self.send_response(200)

unit_tests/sources/declarative/test_yaml_declarative_source.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ def test_source_with_missing_reference_fails(self):
134134

135135

136136
class TestFileContent:
137-
__test__: ClassVar[bool] = False # Prevent pytest from thinking that this is a test class, despite the name
137+
__test__: ClassVar[bool] = (
138+
False # Prevent pytest from thinking that this is a test class, despite the name
139+
)
138140

139141
def __init__(self, content):
140142
self.file = tempfile.NamedTemporaryFile(mode="w", delete=False)

unit_tests/sources/file_based/scenarios/scenario_builder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ def build(
4242

4343

4444
class TestScenario(Generic[SourceType]):
45-
__test__: ClassVar[bool] = False # Prevent pytest from thinking that this is a test class, despite the name
45+
__test__: ClassVar[bool] = (
46+
False # Prevent pytest from thinking that this is a test class, despite the name
47+
)
4648

4749
def __init__(
4850
self,

unit_tests/sources/file_based/test_file_based_stream_reader.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@
6262

6363

6464
class TestStreamReader(AbstractFileBasedStreamReader):
65-
__test__: ClassVar[bool] = False # Prevent pytest from thinking that this is a test class, despite the name
65+
__test__: ClassVar[bool] = (
66+
False # Prevent pytest from thinking that this is a test class, despite the name
67+
)
6668

6769
@property
6870
def config(self) -> Optional[AbstractFileBasedSpec]:
@@ -102,7 +104,9 @@ def identities_schema(self) -> Dict[str, Any]:
102104

103105

104106
class TestSpec(AbstractFileBasedSpec):
105-
__test__: ClassVar[bool] = False # Prevent pytest from thinking that this is a test class, despite the name
107+
__test__: ClassVar[bool] = (
108+
False # Prevent pytest from thinking that this is a test class, despite the name
109+
)
106110

107111
@classmethod
108112
def documentation_url(cls) -> AnyUrl:

0 commit comments

Comments
 (0)