Skip to content

Conversation

@cqc-melf
Copy link
Collaborator

Description

Please summarise the changes.

Related issues

Please mention any github issues addressed by this PR.

Checklist

  • I have performed a self-review of my code.
  • I have commented hard-to-understand parts of my code.
  • I have made corresponding changes to the public API documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have updated the changelog with any user-facing changes.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reorganizes imports across several Python files to follow PEP 8 conventions (third-party imports before local imports), updates a documentation link, removes inline documentation build steps from the test workflow in favor of a dedicated docs workflow, and fixes type handling issues in test assertions and the ForestStateBackend.get_pauli_expectation_value method.

Key changes:

  • Import statements reorganized to place standard library and third-party imports before local project imports
  • Documentation link updated from deprecated URL to current GitHub repository
  • GitHub Actions workflow refactored to separate documentation building into a dedicated workflow file

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/qvm_backend_test.py Reorganized imports and wrapped integer assertions in complex() for type consistency
tests/pyquil_convert_test.py Reorganized imports to follow PEP 8 ordering
pytket/extensions/pyquil/pyquil_convert.py Reorganized imports and removed outdated noqa comment
pytket/extensions/pyquil/backends/forest.py Reorganized imports and modified return statement in get_pauli_expectation_value to handle list output
docs/pytket-docs-theming Updated subproject commit reference
docs/index.rst Updated pyQuil documentation URL from deprecated domain to GitHub repository
.github/workflows/docs.yml Added new dedicated workflow for documentation building
.github/workflows/build_and_test.yml Removed documentation build steps from main test workflow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cqc-melf cqc-melf marked this pull request as ready for review January 6, 2026 18:21
@cqc-melf cqc-melf merged commit 3e141f5 into main Jan 6, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants