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

Align Black target versions with supported Python versions #6709

Closed cosenal closed 2 months ago

cosenal commented 2 months ago

Cirq now supports Python >=3.10 and <=3.12. This PR aligns the target versions of the black tool to Cirq supported Python versions. Unless I am missing something, this is a leftover from https://github.com/quantumlib/Cirq/pull/6591/files.

Tested with black==24.3.0 from https://github.com/cosenal/Cirq/blob/black-target-versions/dev_tools/requirements/deps/format.txt

google-cla[bot] commented 2 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 97.83%. Comparing base (d94c457) to head (7bafeaa). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6709 +/- ## ========================================== - Coverage 97.83% 97.83% -0.01% ========================================== Files 1077 1077 Lines 92502 92502 ========================================== - Hits 90501 90497 -4 - Misses 2001 2005 +4 ```

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