Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: CQCL/phir
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.2
Choose a base ref
...
head repository: CQCL/phir
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.3
Choose a head ref
  • 16 commits
  • 5 files changed
  • 3 contributors

Commits on Mar 18, 2024

  1. chore(deps): bump the python-packages group with 4 updates (#69)

    Bumps the python-packages group with 4 updates: [autodoc-pydantic](https://github.com/mansenfranzen/autodoc_pydantic), [pydantic](https://github.com/pydantic/pydantic), [ruff](https://github.com/astral-sh/ruff) and [wheel](https://github.com/pypa/wheel).
    
    
    Updates `autodoc-pydantic` from 2.0.1 to 2.1.0
    - [Changelog](https://github.com/mansenfranzen/autodoc_pydantic/blob/main/CHANGELOG.md)
    - [Commits](mansenfranzen/autodoc_pydantic@v2.0.1...v2.1.0)
    
    Updates `pydantic` from 2.6.3 to 2.6.4
    - [Release notes](https://github.com/pydantic/pydantic/releases)
    - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
    - [Commits](pydantic/pydantic@v2.6.3...v2.6.4)
    
    Updates `ruff` from 0.3.2 to 0.3.3
    - [Release notes](https://github.com/astral-sh/ruff/releases)
    - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
    - [Commits](astral-sh/ruff@v0.3.2...v0.3.3)
    
    Updates `wheel` from 0.42.0 to 0.43.0
    - [Release notes](https://github.com/pypa/wheel/releases)
    - [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
    - [Commits](pypa/wheel@0.42.0...0.43.0)
    
    ---
    updated-dependencies:
    - dependency-name: autodoc-pydantic
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: pydantic
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: python-packages
    - dependency-name: ruff
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: python-packages
    - dependency-name: wheel
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 18, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    1b1e935 View commit details
  2. [pre-commit.ci] pre-commit autoupdate (#70)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.3.2 → v0.3.3](astral-sh/ruff-pre-commit@v0.3.2...v0.3.3)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Mar 18, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    6103094 View commit details

Commits on Mar 25, 2024

  1. chore(deps): bump the python-packages group with 2 updates (#71)

    Bumps the python-packages group with 2 updates: [pre-commit](https://github.com/pre-commit/pre-commit) and [ruff](https://github.com/astral-sh/ruff).
    
    
    Updates `pre-commit` from 3.6.2 to 3.7.0
    - [Release notes](https://github.com/pre-commit/pre-commit/releases)
    - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
    - [Commits](pre-commit/pre-commit@v3.6.2...v3.7.0)
    
    Updates `ruff` from 0.3.3 to 0.3.4
    - [Release notes](https://github.com/astral-sh/ruff/releases)
    - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
    - [Commits](astral-sh/ruff@v0.3.3...v0.3.4)
    
    ---
    updated-dependencies:
    - dependency-name: pre-commit
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: ruff
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: python-packages
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 25, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    74bce11 View commit details
  2. [pre-commit.ci] pre-commit autoupdate (#72)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.3.3 → v0.3.4](astral-sh/ruff-pre-commit@v0.3.3...v0.3.4)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Mar 25, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c32b363 View commit details

Commits on Apr 1, 2024

  1. chore(deps): bump the python-packages group with 1 update (#73)

    Bumps the python-packages group with 1 update: [build](https://github.com/pypa/build).
    
    
    Updates `build` from 1.1.1 to 1.2.1
    - [Release notes](https://github.com/pypa/build/releases)
    - [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
    - [Commits](pypa/build@1.1.1...1.2.1)
    
    ---
    updated-dependencies:
    - dependency-name: build
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 1, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    f9f1167 View commit details
  2. [pre-commit.ci] pre-commit autoupdate (#74)

    updates:
    - [github.com/crate-ci/typos: v1.19.0 → v1.20.0](crate-ci/typos@v1.19.0...v1.20.0)
    - [github.com/python-jsonschema/check-jsonschema: 0.28.0 → 0.28.1](python-jsonschema/check-jsonschema@0.28.0...0.28.1)
    - [github.com/astral-sh/ruff-pre-commit: v0.3.4 → v0.3.5](astral-sh/ruff-pre-commit@v0.3.4...v0.3.5)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Apr 1, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    3fc7c07 View commit details

Commits on Apr 8, 2024

  1. chore(deps): bump ruff from 0.3.4 to 0.3.5 in the python-packages gro…

    …up (#75)
    
    Bumps the python-packages group with 1 update: [ruff](https://github.com/astral-sh/ruff).
    
    
    Updates `ruff` from 0.3.4 to 0.3.5
    - [Release notes](https://github.com/astral-sh/ruff/releases)
    - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
    - [Commits](astral-sh/ruff@v0.3.4...v0.3.5)
    
    ---
    updated-dependencies:
    - dependency-name: ruff
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: python-packages
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 8, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    a60ed58 View commit details
  2. [pre-commit.ci] pre-commit autoupdate (#76)

    updates:
    - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
    - [github.com/crate-ci/typos: v1.20.0 → v1.20.4](crate-ci/typos@v1.20.0...v1.20.4)
    - [github.com/DavidAnson/markdownlint-cli2: v0.12.1 → v0.13.0](DavidAnson/markdownlint-cli2@v0.12.1...v0.13.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Apr 8, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    7e5859c View commit details

Commits on Apr 15, 2024

  1. chore(deps): bump the python-packages group with 2 updates (#78)

    Bumps the python-packages group with 2 updates: [pydantic](https://github.com/pydantic/pydantic) and [ruff](https://github.com/astral-sh/ruff).
    
    
    Updates `pydantic` from 2.6.4 to 2.7.0
    - [Release notes](https://github.com/pydantic/pydantic/releases)
    - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
    - [Commits](pydantic/pydantic@v2.6.4...v2.7.0)
    
    Updates `ruff` from 0.3.5 to 0.3.7
    - [Release notes](https://github.com/astral-sh/ruff/releases)
    - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
    - [Commits](astral-sh/ruff@v0.3.5...v0.3.7)
    
    ---
    updated-dependencies:
    - dependency-name: pydantic
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: ruff
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: python-packages
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 15, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    9eb0e22 View commit details
  2. chore(deps): bump peaceiris/actions-gh-pages from 3 to 4 (#79)

    Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4.
    - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
    - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
    - [Commits](peaceiris/actions-gh-pages@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: peaceiris/actions-gh-pages
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 15, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    7f60e2e View commit details

Commits on Apr 18, 2024

  1. chore(deps): update to ruff v0.4.0 and others

    qartik committed Apr 18, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    qartik Kartik Singhal
    Copy the full SHA
    edc07b8 View commit details
  2. fix(docs): keep sphinx <v7.3 until 7.3.7 is released

    qartik committed Apr 18, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    qartik Kartik Singhal
    Copy the full SHA
    91029cb View commit details

Commits on Apr 23, 2024

  1. [pre-commit.ci] pre-commit autoupdate (#80)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.0 → v0.4.1](astral-sh/ruff-pre-commit@v0.4.0...v0.4.1)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Apr 23, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5d1a613 View commit details

Commits on Apr 29, 2024

  1. chore(deps): bump the python-packages group across 1 directory with 6…

    … updates (#82)
    
    Updates the requirements on [autodoc-pydantic](https://github.com/mansenfranzen/autodoc_pydantic), [mypy](https://github.com/python/mypy), [pydantic](https://github.com/pydantic/pydantic), [pytest](https://github.com/pytest-dev/pytest), [ruff](https://github.com/astral-sh/ruff) and [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version.
    
    Updates `autodoc-pydantic` from 2.1.0 to 2.2.0
    - [Release notes](https://github.com/mansenfranzen/autodoc_pydantic/releases)
    - [Changelog](https://github.com/mansenfranzen/autodoc_pydantic/blob/main/CHANGELOG.md)
    - [Commits](mansenfranzen/autodoc_pydantic@v2.1.0...v2.2.0)
    
    Updates `mypy` from 1.9.0 to 1.10.0
    - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
    - [Commits](python/mypy@1.9.0...v1.10.0)
    
    Updates `pydantic` from 2.7.0 to 2.7.1
    - [Release notes](https://github.com/pydantic/pydantic/releases)
    - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
    - [Commits](pydantic/pydantic@v2.7.0...v2.7.1)
    
    Updates `pytest` from 8.1.1 to 8.2.0
    - [Release notes](https://github.com/pytest-dev/pytest/releases)
    - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
    - [Commits](pytest-dev/pytest@8.1.1...8.2.0)
    
    Updates `ruff` from 0.4.0 to 0.4.2
    - [Release notes](https://github.com/astral-sh/ruff/releases)
    - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
    - [Commits](astral-sh/ruff@v0.4.0...v0.4.2)
    
    Updates `sphinx` to 7.3.7
    - [Release notes](https://github.com/sphinx-doc/sphinx/releases)
    - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
    - [Commits](sphinx-doc/sphinx@v0.1.61611...v7.3.7)
    
    ---
    updated-dependencies:
    - dependency-name: autodoc-pydantic
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: mypy
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: pydantic
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: python-packages
    - dependency-name: pytest
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: python-packages
    - dependency-name: ruff
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: python-packages
    - dependency-name: sphinx
      dependency-type: direct:production
      dependency-group: python-packages
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 29, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d08759c View commit details
  2. [pre-commit.ci] pre-commit autoupdate (#83)

    updates:
    - [github.com/crate-ci/typos: v1.20.9 → v1.20.10](crate-ci/typos@v1.20.9...v1.20.10)
    - [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.2](astral-sh/ruff-pre-commit@v0.4.1...v0.4.2)
    - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](pre-commit/mirrors-mypy@v1.9.0...v1.10.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Apr 29, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    35ce3d4 View commit details

Commits on May 6, 2024

  1. fix: make None default size if unspecified (#84)

    qartik authored May 6, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    3d73c55 View commit details
Showing with 19 additions and 19 deletions.
  1. +1 −1 .github/workflows/python-app.yml
  2. +6 −6 .pre-commit-config.yaml
  3. +1 −1 phir/model.py
  4. +9 −9 requirements.txt
  5. +2 −2 schema.json
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ jobs:
run: |
make docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.python-version == '3.12' }}
with:
publish_branch: gh-pages
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
@@ -15,18 +15,18 @@ repos:
- id: check-json

- repo: https://github.com/crate-ci/typos
rev: v1.19.0
rev: v1.21.0
hooks:
- id: typos
args: []

- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.12.1
rev: v0.13.0
hooks:
- id: markdownlint-cli2

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.0
rev: 0.28.2
hooks:
- id: check-github-workflows
- id: check-metaschema
@@ -43,14 +43,14 @@ repos:
- black==23.10.1

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.2
rev: v0.4.3
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.9.0'
rev: 'v1.10.0'
hooks:
- id: mypy
pass_filenames: false
2 changes: 1 addition & 1 deletion phir/model.py
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ class CVarDefine(Data):
data: Literal["cvar_define"]
data_type: Literal["i64", "i32", "u64", "u32"]
variable: Sym
size: PositiveInt | None = Field(strict=True)
size: PositiveInt | None = Field(default=None, strict=True)

@model_validator(mode="after")
def check_size(self: CVarDefine) -> CVarDefine:
18 changes: 9 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
autodoc-pydantic==2.0.1
build==1.1.1
mypy==1.9.0
pre-commit==3.6.2
pydantic==2.6.3
autodoc-pydantic==2.2.0
build==1.2.1
mypy==1.10.0
pre-commit==3.7.0
pydantic==2.7.1
pydata_sphinx_theme==0.15.2
pytest==8.1.1
pytest==8.2.0
rich==13.7.1
ruff==0.3.2
ruff==0.4.2
setuptools-scm==8.0.4
sphinx==7.2.6
wheel==0.42.0
sphinx<7.4
wheel==0.43.0
4 changes: 2 additions & 2 deletions schema.json
Original file line number Diff line number Diff line change
@@ -190,14 +190,14 @@
"type": "null"
}
],
"default": null,
"title": "Size"
}
},
"required": [
"data",
"data_type",
"variable",
"size"
"variable"
],
"title": "CVarDefine",
"type": "object"