quantumlib / Cirq

A Python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
Apache License 2.0
4.28k stars 1.02k forks source link

Exclude all setup.py files from typecheck #6690

Closed pavoljuhas closed 3 months ago

pavoljuhas commented 3 months ago

setup.py files define distributions of cirq and cirq subpackages. There is no much value to enforce type annotations in their code.

Also clean up ineffective exclusion pattern for cirq-rigetti (related to #6661).

Fixes #6687

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.82%. Comparing base (c58a05c) to head (facd1df). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6690 +/- ## ======================================= Coverage 97.82% 97.82% ======================================= Files 1074 1074 Lines 92118 92118 ======================================= Hits 90116 90116 Misses 2002 2002 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.