code-review-env / __init__.py
theaniketgiri's picture
Optimize for Phase 2: 5 tasks, severity scoring, iterative refinement, 32 tests
0bbb422
raw
history blame contribute delete
901 Bytes
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
"""Code Review Env Environment."""
try:
from .client import CodeReviewEnv
from .models import (
ISSUE_TAXONOMY,
CodeReviewAction,
CodeReviewObservation,
CodeReviewState,
ReviewAction,
ReviewObservation,
ReviewState,
)
__all__ = [
"ISSUE_TAXONOMY",
"ReviewAction",
"ReviewObservation",
"ReviewState",
"CodeReviewAction",
"CodeReviewObservation",
"CodeReviewState",
"CodeReviewEnv",
]
except ImportError:
# When imported outside package context (e.g. pytest collection),
# relative imports are unavailable. Gracefully degrade.
__all__ = []