Skip to content

Commit

Permalink
Various format improvements, wider Python support, dependency cleanup (
Browse files Browse the repository at this point in the history
…#17)

This PR:

- makes the formatting of `tqecd` code more uniform
- makes one minor change in test files to support python `3.9`
- add python `3.9` and `3.13` to the versions tested by CI
- cleans up a few dependencies that were not really needed anymore by
`tqecd` (and that slipped through when extracting `tqecd` from `tqec`)
  • Loading branch information
nelimee authored Dec 24, 2024
1 parent e51df88 commit 3b04649
Show file tree
Hide file tree
Showing 21 changed files with 478 additions and 479 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
needs: pre-commit-ci
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/exotic-oses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
uses: actions/setup-python@v5
with:
# Use smallest supported Python version as the common denominator.
# In theory, if everything succeed in 3.10, everything should succeed in
# 3.11, 3.12 and follow-up version.
python-version: "3.10"
# In theory, if everything succeed in 3.9, everything should succeed in
# 3.10, 3.11 and follow-up version.
python-version: "3.9"
cache: "pip"
- name: Install dependencies
run: |
Expand Down
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ repos:
# rev: v1.7.5
# hooks:
# - id: docformatter
- repo: https://github.com/pcoelho00/pre-commit-clear-notebooks
rev: v1.0.0
hooks:
- id: clear-notebooks
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "pydata_sphinx_theme"
html_static_path = ["_static"]
# html_static_path = ["_static"]

# -- Options for PyData Sphinx Theme -----------------------------------------
html_theme_options = {
Expand Down
Loading

0 comments on commit 3b04649

Please sign in to comment.