Skip to content

Commit

Permalink
feat: Add experimental AI PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-codecov committed Nov 20, 2023
1 parent 64da979 commit e62488f
Show file tree
Hide file tree
Showing 12 changed files with 2,099 additions and 4 deletions.
6 changes: 4 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,10 @@ def mock_configuration(mocker):
def codecov_vcr(request):
current_path = Path(request.node.fspath)
current_path_name = current_path.name.replace(".py", "")
cls_name = request.node.cls.__name__
cassete_path = current_path.parent / "cassetes" / current_path_name / cls_name
cassete_path = current_path.parent / "cassetes" / current_path_name
if request.node.cls:
cls_name = request.node.cls.__name__
cassete_path = cassete_path / cls_name
current_name = request.node.name
casset_file_path = str(cassete_path / f"{current_name}.yaml")
with vcr.use_cassette(
Expand Down
3 changes: 2 additions & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ urllib3>=1.26.18
vcrpy
opentelemetry-instrumentation-celery>=0.41b0
opentelemetry-sdk>=1.20.0
google-cloud-pubsub
google-cloud-pubsub
openai
20 changes: 19 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ analytics-python==1.3.0b1
# via
# -r requirements.in
# shared
annotated-types==0.6.0
# via pydantic
anyio==3.6.1
# via httpcore
# via
# httpcore
# openai
async-timeout==4.0.2
# via redis
attrs==20.3.0
Expand Down Expand Up @@ -80,6 +84,8 @@ deprecated==1.2.12
# via opentelemetry-api
distlib==0.3.7
# via virtualenv
distro==1.8.0
# via openai
ecdsa==0.16.1
# via tlslite-ng
exceptiongroup==1.1.3
Expand Down Expand Up @@ -144,6 +150,7 @@ httplib2==0.19.0
httpx==0.23.1
# via
# -r requirements.in
# openai
# respx
# shared
identify==2.5.30
Expand Down Expand Up @@ -186,6 +193,8 @@ oauth2==1.9.0.post1
# via shared
oauthlib==3.1.0
# via shared
openai==1.2.4
# via -r requirements.in
opentelemetry-api==1.20.0
# via
# opentelemetry-instrumentation
Expand Down Expand Up @@ -236,6 +245,10 @@ pyasn1-modules==0.2.8
# via google-auth
pycparser==2.20
# via cffi
pydantic==2.5.0
# via openai
pydantic-core==2.14.1
# via pydantic
pyjwt==2.4.0
# via
# -r requirements.in
Expand Down Expand Up @@ -344,11 +357,16 @@ tlslite-ng==0.8.0a39
# via shared
tomli==2.0.1
# via pytest
tqdm==4.66.1
# via openai
typing==3.7.4.3
# via shared
typing-extensions==4.6.3
# via
# openai
# opentelemetry-sdk
# pydantic
# pydantic-core
# shared
urllib3==1.26.18
# via
Expand Down
Loading

0 comments on commit e62488f

Please sign in to comment.