Skip to content

Commit ea109ee

Browse files
committed
Fix invalid return types
1 parent fde1504 commit ea109ee

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ include = ["tests/**"]
159159
invalid-argument-type = "ignore"
160160
invalid-assignment = "ignore"
161161
invalid-method-override = "ignore"
162-
invalid-return-type = "ignore"
163162
no-matching-overload = "ignore"
164163
non-subscriptable = "ignore"
165164
not-iterable = "ignore"

tests/unit/ctl/test_branch_report.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def mock_branch_report_default_branch(httpx_mock: HTTPXMock) -> HTTPXMock:
126126
},
127127
match_headers={"X-Infrahub-Tracker": "query-branch"},
128128
)
129+
return httpx_mock
129130

130131

131132
@pytest.fixture

tests/unit/sdk/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,6 +2121,7 @@ async def mock_rest_api_artifact_generate(httpx_mock: HTTPXMock, schema_query_04
21212121
method="POST", url="http://mock/graphql/main", json=artifact_definition_graphql_response, is_reusable=True
21222122
)
21232123
httpx_mock.add_response(method="POST", url=re.compile(r"^http://mock/api/artifact/generate/.*"), is_reusable=True)
2124+
return httpx_mock
21242125

21252126

21262127
@pytest.fixture

0 commit comments

Comments
 (0)