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

Implement and enforce explicit re-export for cirq modules #6722

Merged
merged 25 commits into from
Sep 11, 2024

Commits on Sep 8, 2024

  1. Configuration menu
    Copy the full SHA
    b726cff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce9dd20 View commit details
    Browse the repository at this point in the history
  3. Update __init__.py

    ashiq-firoz committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    3a93702 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ffa54ff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9161701 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    acfc2d1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eb26672 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a72940c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c3613dc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d653c80 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1328157 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Made changes as mentioned

    ashiq-firoz committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    808a6db View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    ed39e49 View commit details
    Browse the repository at this point in the history
  2. Import ModuleType directly from types

    No need for re-export from `cirq._import`.
    pavoljuhas committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    fe2b244 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    34c9279 View commit details
    Browse the repository at this point in the history
  4. Fix complaint about reexport of InsertStrategy from cirq.circuits.cir…

    …cuit
    
    Just import it from cirq.
    pavoljuhas committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    445084a View commit details
    Browse the repository at this point in the history
  5. Fix complaint about reexport of PauliString

    Import it from the actual defining module.
    pavoljuhas committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    827f34b View commit details
    Browse the repository at this point in the history
  6. Fix complaint about reexport of SwapPowGate

    Just import from cirq.  The caller is in the cirq_ionq subpackage.
    pavoljuhas committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    fce7ca2 View commit details
    Browse the repository at this point in the history
  7. Format changed files

    Executed  check/format-incremental --apply
    pavoljuhas committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    aeb546d View commit details
    Browse the repository at this point in the history
  8. Do not re-export _register_resolver and _class_resolver_dictionary

    These are used for package initialization and are not for export.
    pavoljuhas committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    c0db8ff View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a7c21e1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    61707d0 View commit details
    Browse the repository at this point in the history
  11. Clean spurious re-export

    pavoljuhas committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    d615c60 View commit details
    Browse the repository at this point in the history
  12. Do not re-export submodules already in the namespace

    These are already added to super module namespace on import.
    pavoljuhas committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    93320e3 View commit details
    Browse the repository at this point in the history
  13. Address pylint on line-too-long

    Disable for very long re-export statements.
    pavoljuhas committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    7f98fd3 View commit details
    Browse the repository at this point in the history