Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverage - exclude code guarded by if TYPE_CHECKING #6753

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ RUN rm -f /usr/bin/python \
&& ln -s /usr/bin/python3 /usr/bin/python
#cirq stable image
FROM cirq_base AS cirq_stable
RUN pip3 install cirq
# TODO: #6754 - adjust or remove the quil pin
RUN pip3 install cirq "quil<0.13.0"

##cirq pre_release image
FROM cirq_base AS cirq_pre_release
RUN pip3 install cirq~=1.0.dev
# TODO: #6754 - adjust or remove the quil pin
RUN pip3 install cirq~=1.0.dev "quil<0.13.0"
3 changes: 3 additions & 0 deletions cirq-rigetti/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
pyquil>=4.11.0,<5.0.0

# TODO: #6754 - adjust or remove if binary wheels are provided again
quil<0.13.0

# TODO - remove once pyquil requires qcs-sdk-python >= 0.20.1
qcs-sdk-python>=0.20.1
6 changes: 5 additions & 1 deletion dev_tools/conf/.coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@
# Failure to do so will result in false positives.
include = ./*

omit =
omit =
benchmarks/*

[report]
exclude_also =
if TYPE_CHECKING: