From 1daf9d045e5cfc12263ed5b34e2cf63a559fa7bf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 22:46:13 +0100 Subject: [PATCH] Renovate: paddyroddy/.github (minor) (#406) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [paddyroddy/.github](https://togithub.com/paddyroddy/.github) | repository | minor | `v0.195.0` -> `v0.213.0` | | [paddyroddy/.github](https://togithub.com/paddyroddy/.github) | action | digest | `18d8678` -> `ac424c5` | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://togithub.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes
paddyroddy/.github (paddyroddy/.github) ### [`v0.213.0`](https://togithub.com/paddyroddy/.github/compare/v0.212.0...v0.213.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.212.0...v0.213.0) ### [`v0.212.0`](https://togithub.com/paddyroddy/.github/compare/v0.211.0...v0.212.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.211.0...v0.212.0) ### [`v0.211.0`](https://togithub.com/paddyroddy/.github/compare/v0.210.0...v0.211.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.210.0...v0.211.0) ### [`v0.210.0`](https://togithub.com/paddyroddy/.github/compare/v0.209.0...v0.210.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.209.0...v0.210.0) ### [`v0.209.0`](https://togithub.com/paddyroddy/.github/compare/v0.208.0...v0.209.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.208.0...v0.209.0) ### [`v0.208.0`](https://togithub.com/paddyroddy/.github/compare/v0.207.0...v0.208.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.207.0...v0.208.0) ### [`v0.207.0`](https://togithub.com/paddyroddy/.github/compare/v0.206.0...v0.207.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.206.0...v0.207.0) ### [`v0.206.0`](https://togithub.com/paddyroddy/.github/compare/v0.205.0...v0.206.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.205.0...v0.206.0) ### [`v0.205.0`](https://togithub.com/paddyroddy/.github/compare/v0.204.0...v0.205.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.204.0...v0.205.0) ### [`v0.204.0`](https://togithub.com/paddyroddy/.github/compare/v0.203.0...v0.204.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.203.0...v0.204.0) ### [`v0.203.0`](https://togithub.com/paddyroddy/.github/compare/v0.202.0...v0.203.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.202.0...v0.203.0) ### [`v0.202.0`](https://togithub.com/paddyroddy/.github/compare/v0.201.0...v0.202.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.201.0...v0.202.0) ### [`v0.201.0`](https://togithub.com/paddyroddy/.github/compare/v0.200.0...v0.201.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.200.0...v0.201.0) ### [`v0.200.0`](https://togithub.com/paddyroddy/.github/compare/v0.199.0...v0.200.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.199.0...v0.200.0) ### [`v0.199.0`](https://togithub.com/paddyroddy/.github/compare/v0.198.0...v0.199.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.198.0...v0.199.0) ### [`v0.198.0`](https://togithub.com/paddyroddy/.github/compare/v0.197.0...v0.198.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.197.0...v0.198.0) ### [`v0.197.0`](https://togithub.com/paddyroddy/.github/compare/v0.196.0...v0.197.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.196.0...v0.197.0) ### [`v0.196.0`](https://togithub.com/paddyroddy/.github/compare/v0.195.0...v0.196.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.195.0...v0.196.0)
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - "every weekday" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/astro-informatics/sleplet). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Patrick J. Roddy --- .github/workflows/deploy.yaml | 2 +- .github/workflows/documentation.yaml | 2 +- .github/workflows/examples.yaml | 2 +- .github/workflows/licence.yaml | 2 +- .github/workflows/links.yaml | 2 +- .github/workflows/linting.yaml | 2 +- .github/workflows/test.yaml | 2 +- .pre-commit-config.yaml | 2 +- .../functions/axisymmetric_wavelet_coefficients_africa.py | 2 +- .../functions/axisymmetric_wavelet_coefficients_earth.py | 2 +- .../axisymmetric_wavelet_coefficients_south_america.py | 2 +- src/sleplet/functions/axisymmetric_wavelets.py | 2 +- src/sleplet/functions/ridgelets.py | 2 +- src/sleplet/functions/slepian.py | 2 +- .../functions/slepian_wavelet_coefficients_africa.py | 2 +- .../slepian_wavelet_coefficients_south_america.py | 2 +- src/sleplet/functions/slepian_wavelets.py | 2 +- src/sleplet/functions/spherical_harmonic.py | 4 ++-- src/sleplet/meshes/mesh_basis_functions.py | 2 +- src/sleplet/meshes/mesh_slepian_functions.py | 2 +- src/sleplet/meshes/mesh_slepian_wavelet_coefficients.py | 2 +- src/sleplet/meshes/mesh_slepian_wavelets.py | 2 +- src/sleplet/slepian/region.py | 8 ++++---- src/sleplet/slepian/slepian_polar_cap.py | 4 ++-- 24 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index e9e9c288..375b5268 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -17,7 +17,7 @@ jobs: id-token: write steps: # yamllint disable-line rule:line-length - - uses: paddyroddy/.github/actions/python/deployment@18d8678a5aea33da18556ae7823433325631dadd # v0 + - uses: paddyroddy/.github/actions/python/deployment@ac424c5397b4f9c7a6c082bb7196373a887e44f4 # v0 with: pyproject-toml: ./pyproject.toml python-version: "3.12" diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index e91d05e8..cd3fcad5 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: # yamllint disable-line rule:line-length - - uses: paddyroddy/.github/actions/python/pdoc@18d8678a5aea33da18556ae7823433325631dadd # v0 + - uses: paddyroddy/.github/actions/python/pdoc@ac424c5397b4f9c7a6c082bb7196373a887e44f4 # v0 with: docs-dependency-section: .[docs] gh-pages-publish-directory: ./html/sleplet diff --git a/.github/workflows/examples.yaml b/.github/workflows/examples.yaml index e47cd2fe..42c04b6d 100644 --- a/.github/workflows/examples.yaml +++ b/.github/workflows/examples.yaml @@ -35,7 +35,7 @@ jobs: key: readme-${{ hashFiles('pyproject.toml') }} - name: Install dependencies - run: python -m pip install -e .[readme] + run: python -m pip install -e '.[readme]' - name: Run examples in the README run: python -m pytest --codeblocks .github README.md documentation diff --git a/.github/workflows/licence.yaml b/.github/workflows/licence.yaml index 893358a6..ee465074 100644 --- a/.github/workflows/licence.yaml +++ b/.github/workflows/licence.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: # yamllint disable-line rule:line-length - - uses: paddyroddy/.github/actions/licence@18d8678a5aea33da18556ae7823433325631dadd # v0 + - uses: paddyroddy/.github/actions/licence@ac424c5397b4f9c7a6c082bb7196373a887e44f4 # v0 with: github-token: ${{ secrets.GITHUB_TOKEN }} licence-file: ./LICENCE.txt diff --git a/.github/workflows/links.yaml b/.github/workflows/links.yaml index 04579d3b..aca8572e 100644 --- a/.github/workflows/links.yaml +++ b/.github/workflows/links.yaml @@ -14,6 +14,6 @@ jobs: timeout-minutes: 2 steps: # yamllint disable-line rule:line-length - - uses: paddyroddy/.github/actions/links@18d8678a5aea33da18556ae7823433325631dadd # v0 + - uses: paddyroddy/.github/actions/links@ac424c5397b4f9c7a6c082bb7196373a887e44f4 # v0 with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index 9f4fd082..8f77ee64 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -13,6 +13,6 @@ jobs: runs-on: ubuntu-latest steps: # yamllint disable-line rule:line-length - - uses: paddyroddy/.github/actions/linting@18d8678a5aea33da18556ae7823433325631dadd # v0 + - uses: paddyroddy/.github/actions/linting@ac424c5397b4f9c7a6c082bb7196373a887e44f4 # v0 with: pre-commit-config: ./.pre-commit-config.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9c428986..d9520cb2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,7 +24,7 @@ jobs: - "3.12" steps: # yamllint disable-line rule:line-length - - uses: paddyroddy/.github/actions/python/tox@18d8678a5aea33da18556ae7823433325631dadd # v0 + - uses: paddyroddy/.github/actions/python/tox@ac424c5397b4f9c7a6c082bb7196373a887e44f4 # v0 with: cache-path: |- .tox diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bc994f57..63817a85 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/paddyroddy/.github - rev: v0.195.0 + rev: v0.213.0 hooks: - id: general-hooks - id: python-hooks diff --git a/src/sleplet/functions/axisymmetric_wavelet_coefficients_africa.py b/src/sleplet/functions/axisymmetric_wavelet_coefficients_africa.py index c133bfbf..a648ea42 100644 --- a/src/sleplet/functions/axisymmetric_wavelet_coefficients_africa.py +++ b/src/sleplet/functions/axisymmetric_wavelet_coefficients_africa.py @@ -92,7 +92,7 @@ def _create_wavelet_coefficients( @pydantic.field_validator("j") def _check_j( - cls, # noqa: ANN101 + cls, v: int | None, info: pydantic.ValidationInfo, ) -> int | None: diff --git a/src/sleplet/functions/axisymmetric_wavelet_coefficients_earth.py b/src/sleplet/functions/axisymmetric_wavelet_coefficients_earth.py index 6dbbc675..c5a78fd8 100644 --- a/src/sleplet/functions/axisymmetric_wavelet_coefficients_earth.py +++ b/src/sleplet/functions/axisymmetric_wavelet_coefficients_earth.py @@ -89,7 +89,7 @@ def _create_wavelet_coefficients( @pydantic.field_validator("j") def _check_j( - cls, # noqa: ANN101 + cls, v: int | None, info: pydantic.ValidationInfo, ) -> int | None: diff --git a/src/sleplet/functions/axisymmetric_wavelet_coefficients_south_america.py b/src/sleplet/functions/axisymmetric_wavelet_coefficients_south_america.py index 4ca3f87f..8eee52ba 100644 --- a/src/sleplet/functions/axisymmetric_wavelet_coefficients_south_america.py +++ b/src/sleplet/functions/axisymmetric_wavelet_coefficients_south_america.py @@ -91,7 +91,7 @@ def _create_wavelet_coefficients( @pydantic.field_validator("j") def _check_j( - cls, # noqa: ANN101 + cls, v: int | None, info: pydantic.ValidationInfo, ) -> int | None: diff --git a/src/sleplet/functions/axisymmetric_wavelets.py b/src/sleplet/functions/axisymmetric_wavelets.py index f733d170..8294b0c8 100644 --- a/src/sleplet/functions/axisymmetric_wavelets.py +++ b/src/sleplet/functions/axisymmetric_wavelets.py @@ -76,7 +76,7 @@ def _create_wavelets(self: typing_extensions.Self) -> npt.NDArray[np.complex128] @pydantic.field_validator("j") def _check_j( - cls, # noqa: ANN101 + cls, v: int | None, info: pydantic.ValidationInfo, ) -> int | None: diff --git a/src/sleplet/functions/ridgelets.py b/src/sleplet/functions/ridgelets.py index 126765c8..00cd7089 100644 --- a/src/sleplet/functions/ridgelets.py +++ b/src/sleplet/functions/ridgelets.py @@ -111,7 +111,7 @@ def _compute_ring(self: typing_extensions.Self) -> npt.NDArray[np.complex128]: @pydantic.field_validator("j") def _check_j( - cls, # noqa: ANN101 + cls, v: int | None, info: pydantic.ValidationInfo, ) -> int | None: diff --git a/src/sleplet/functions/slepian.py b/src/sleplet/functions/slepian.py index e0d28f82..649b2e32 100644 --- a/src/sleplet/functions/slepian.py +++ b/src/sleplet/functions/slepian.py @@ -79,7 +79,7 @@ def _validate_rank(self: typing_extensions.Self) -> None: @pydantic.field_validator("rank") def _check_rank( - cls, # noqa: ANN101 + cls, v: int, ) -> int: if v < 0: diff --git a/src/sleplet/functions/slepian_wavelet_coefficients_africa.py b/src/sleplet/functions/slepian_wavelet_coefficients_africa.py index 012e6d62..6dc1c87c 100644 --- a/src/sleplet/functions/slepian_wavelet_coefficients_africa.py +++ b/src/sleplet/functions/slepian_wavelet_coefficients_africa.py @@ -97,7 +97,7 @@ def _create_wavelet_coefficients( @pydantic.field_validator("j") def _check_j( - cls, # noqa: ANN101 + cls, v: int | None, info: pydantic.ValidationInfo, ) -> int | None: diff --git a/src/sleplet/functions/slepian_wavelet_coefficients_south_america.py b/src/sleplet/functions/slepian_wavelet_coefficients_south_america.py index 80d007c3..4d7c7a7c 100644 --- a/src/sleplet/functions/slepian_wavelet_coefficients_south_america.py +++ b/src/sleplet/functions/slepian_wavelet_coefficients_south_america.py @@ -97,7 +97,7 @@ def _create_wavelet_coefficients( @pydantic.field_validator("j") def _check_j( - cls, # noqa: ANN101 + cls, v: int | None, info: pydantic.ValidationInfo, ) -> int | None: diff --git a/src/sleplet/functions/slepian_wavelets.py b/src/sleplet/functions/slepian_wavelets.py index c57273d2..d78886c4 100644 --- a/src/sleplet/functions/slepian_wavelets.py +++ b/src/sleplet/functions/slepian_wavelets.py @@ -70,7 +70,7 @@ def _create_wavelets(self: typing_extensions.Self) -> npt.NDArray[np.float64]: @pydantic.field_validator("j") def _check_j( - cls, # noqa: ANN101 + cls, v: int | None, info: pydantic.ValidationInfo, ) -> int | None: diff --git a/src/sleplet/functions/spherical_harmonic.py b/src/sleplet/functions/spherical_harmonic.py index 998b0288..1bc18d26 100644 --- a/src/sleplet/functions/spherical_harmonic.py +++ b/src/sleplet/functions/spherical_harmonic.py @@ -51,7 +51,7 @@ def _setup_args(self: typing_extensions.Self) -> None: @pydantic.field_validator("ell") def _check_ell( - cls, # noqa: ANN101 + cls, v: int, info: pydantic.ValidationInfo, ) -> int: @@ -65,7 +65,7 @@ def _check_ell( @pydantic.field_validator("m") def _check_m( - cls, # noqa: ANN101 + cls, v: int, info: pydantic.ValidationInfo, ) -> int: diff --git a/src/sleplet/meshes/mesh_basis_functions.py b/src/sleplet/meshes/mesh_basis_functions.py index 1d4630ad..8e7a27b6 100644 --- a/src/sleplet/meshes/mesh_basis_functions.py +++ b/src/sleplet/meshes/mesh_basis_functions.py @@ -66,7 +66,7 @@ def _validate_rank(self: typing_extensions.Self) -> None: @pydantic.field_validator("rank") def _check_rank( - cls, # noqa: ANN101 + cls, v: int, ) -> int: if v < 0: diff --git a/src/sleplet/meshes/mesh_slepian_functions.py b/src/sleplet/meshes/mesh_slepian_functions.py index 788287ed..db69bada 100644 --- a/src/sleplet/meshes/mesh_slepian_functions.py +++ b/src/sleplet/meshes/mesh_slepian_functions.py @@ -68,7 +68,7 @@ def _validate_rank(self: typing_extensions.Self) -> None: @pydantic.field_validator("rank") def _check_rank( - cls, # noqa: ANN101 + cls, v: int, ) -> int: if v < 0: diff --git a/src/sleplet/meshes/mesh_slepian_wavelet_coefficients.py b/src/sleplet/meshes/mesh_slepian_wavelet_coefficients.py index 6931ce2d..f0b1ed01 100644 --- a/src/sleplet/meshes/mesh_slepian_wavelet_coefficients.py +++ b/src/sleplet/meshes/mesh_slepian_wavelet_coefficients.py @@ -81,7 +81,7 @@ def _create_wavelet_coefficients( @pydantic.field_validator("j") def _check_j( - cls, # noqa: ANN101 + cls, v: int | None, info: pydantic.ValidationInfo, ) -> int | None: diff --git a/src/sleplet/meshes/mesh_slepian_wavelets.py b/src/sleplet/meshes/mesh_slepian_wavelets.py index a3ac07b3..57d0ab95 100644 --- a/src/sleplet/meshes/mesh_slepian_wavelets.py +++ b/src/sleplet/meshes/mesh_slepian_wavelets.py @@ -67,7 +67,7 @@ def _create_wavelets(self: typing_extensions.Self) -> npt.NDArray[np.float64]: @pydantic.field_validator("j") def _check_j( - cls, # noqa: ANN101 + cls, v: int | None, info: pydantic.ValidationInfo, ) -> int | None: diff --git a/src/sleplet/slepian/region.py b/src/sleplet/slepian/region.py index 63c2f3b9..3c9f1c36 100644 --- a/src/sleplet/slepian/region.py +++ b/src/sleplet/slepian/region.py @@ -94,7 +94,7 @@ def _identify_region(self: typing_extensions.Self) -> None: @pydantic.field_validator("phi_max") def _check_phi_max( - cls, # noqa: ANN101 + cls, v: float, ) -> float: if v < sleplet._vars.PHI_MIN_DEFAULT: @@ -110,7 +110,7 @@ def _check_phi_max( @pydantic.field_validator("phi_min") def _check_phi_min( - cls, # noqa: ANN101 + cls, v: float, ) -> float: if v < sleplet._vars.PHI_MIN_DEFAULT: @@ -126,7 +126,7 @@ def _check_phi_min( @pydantic.field_validator("theta_max") def _check_theta_max( - cls, # noqa: ANN101 + cls, v: float, ) -> float: if v < sleplet._vars.THETA_MIN_DEFAULT: @@ -142,7 +142,7 @@ def _check_theta_max( @pydantic.field_validator("theta_min") def _check_theta_min( - cls, # noqa: ANN101 + cls, v: float, ) -> float: if v < sleplet._vars.THETA_MIN_DEFAULT: diff --git a/src/sleplet/slepian/slepian_polar_cap.py b/src/sleplet/slepian/slepian_polar_cap.py index a7388232..a25cebba 100644 --- a/src/sleplet/slepian/slepian_polar_cap.py +++ b/src/sleplet/slepian/slepian_polar_cap.py @@ -399,7 +399,7 @@ def _clean_evals_and_evecs( @pydantic.field_validator("order") def _check_order( - cls, # noqa: ANN101 + cls, v: int | npt.NDArray[np.int_] | None, info: pydantic.ValidationInfo, ) -> int | npt.NDArray[np.int_] | None: @@ -410,7 +410,7 @@ def _check_order( @pydantic.field_validator("theta_max") def _check_theta_max( - cls, # noqa: ANN101 + cls, v: float, ) -> float: if v == 0: