-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into conditional-barrier
- Loading branch information
Showing
130 changed files
with
4,020 additions
and
1,106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,6 +147,8 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- name: Install conan | ||
uses: turtlebrowser/[email protected] | ||
with: | ||
version: '2.0.9' | ||
- name: Set up conan | ||
id: conan-setup | ||
run: | | ||
|
@@ -424,11 +426,13 @@ jobs: | |
cd pytket/tests | ||
pip install -r requirements.txt | ||
pytest --ignore=simulator/ | ||
- name: Run mypy | ||
- name: Check type stubs are up-to-date and run mypy | ||
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' | ||
run: | | ||
pip install -U mypy | ||
cd pytket | ||
./stub_generation/regenerate_stubs | ||
git diff --quiet pytket/_tket && echo "Stubs are up-to-date" || exit 1 # fail if stubs change after regeneration | ||
mypy --config-file=mypy.ini --no-incremental -p pytket -p tests | ||
- name: Upload package | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/develop' && needs.check_changes.outputs.tket_changed == 'true' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
[tool.black] | ||
# ignore auto generated qasm include definitions | ||
exclude = ''' | ||
/( | ||
pytket/pytket/qasm/includes | ||
)/ | ||
''' | ||
# ignore auto generated qasm include definitions, installed packages, auto-generated stubfiles | ||
exclude = 'pytket/pytket/qasm/includes|^.+\.pyi$' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.