idempotent comment updates for re-reviews

This commit is contained in:
2025-04-12 10:17:27 +00:00
parent 7bd79b4b4e
commit c8b31bedda

View File

@@ -1,6 +1,7 @@
"""Platform integration clients for GitHub and GitLab.""" """Platform integration clients for GitHub and GitLab."""
from arbiter.integrations.base import ( from arbiter.integrations.base import (
Comment,
CommitStatus, CommitStatus,
Platform, Platform,
PlatformClient, PlatformClient,
@@ -13,12 +14,18 @@ from arbiter.integrations.exceptions import (
PlatformError, PlatformError,
RateLimitError, RateLimitError,
) )
from arbiter.integrations.formatters import ReviewCommentFormatter from arbiter.integrations.formatters import (
ARBITER_MARKER,
ReviewCommentFormatter,
has_arbiter_marker,
)
from arbiter.integrations.github import GitHubClient from arbiter.integrations.github import GitHubClient
from arbiter.integrations.gitlab import GitLabClient from arbiter.integrations.gitlab import GitLabClient
__all__ = [ __all__ = [
"ARBITER_MARKER",
"AuthenticationError", "AuthenticationError",
"Comment",
"CommitStatus", "CommitStatus",
"GitHubClient", "GitHubClient",
"GitLabClient", "GitLabClient",
@@ -30,4 +37,5 @@ __all__ = [
"PullRequestInfo", "PullRequestInfo",
"RateLimitError", "RateLimitError",
"ReviewCommentFormatter", "ReviewCommentFormatter",
"has_arbiter_marker",
] ]