Skip to content

Commit a978a06

Browse files
committed
Fix mypy errors
1 parent 90c83f9 commit a978a06

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sentry/integrations/perforce/integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def __init__(
9494

9595
def get_client(self) -> PerforceClient:
9696
"""Get the Perforce client instance."""
97-
pass
97+
raise NotImplementedError
9898

9999
def on_create_or_update_comment_error(self, api_error: ApiError, metrics_base: str) -> bool:
100100
"""
@@ -253,7 +253,7 @@ def build_integration(self, state: Mapping[str, Any]) -> IntegrationData:
253253
Returns:
254254
Integration data dictionary
255255
"""
256-
return {}
256+
return {"external_id": ""}
257257

258258
def post_install(
259259
self,

src/sentry/integrations/perforce/repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def build_repository_config(
4848
Returns:
4949
Repository configuration
5050
"""
51-
return {}
51+
raise NotImplementedError
5252

5353
def compare_commits(
5454
self, repo: Repository, start_sha: str | None, end_sha: str

0 commit comments

Comments
 (0)