From 0ce2af1022c98ab62b60674677da732095d55a0a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 3 Dec 2024 08:21:33 +0000
Subject: [PATCH] Renovate: paddyroddy/.github (minor) (#429)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [paddyroddy/.github](https://redirect.github.com/paddyroddy/.github) |
repository | minor | `v0.241.0` -> `v0.254.0` |
| [paddyroddy/.github](https://redirect.github.com/paddyroddy/.github) |
action | digest | `6630dca` -> `cde57fb` |
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://redirect.github.com/renovatebot/renovate/discussions/new)
if you have any questions.
---
### Release Notes
paddyroddy/.github (paddyroddy/.github)
###
[`v0.254.0`](https://redirect.github.com/paddyroddy/.github/compare/v0.253.0...v0.254.0)
[Compare
Source](https://redirect.github.com/paddyroddy/.github/compare/v0.253.0...v0.254.0)
###
[`v0.253.0`](https://redirect.github.com/paddyroddy/.github/compare/v0.252.0...v0.253.0)
[Compare
Source](https://redirect.github.com/paddyroddy/.github/compare/v0.252.0...v0.253.0)
###
[`v0.252.0`](https://redirect.github.com/paddyroddy/.github/compare/v0.251.0...v0.252.0)
[Compare
Source](https://redirect.github.com/paddyroddy/.github/compare/v0.251.0...v0.252.0)
###
[`v0.251.0`](https://redirect.github.com/paddyroddy/.github/compare/v0.250.0...v0.251.0)
[Compare
Source](https://redirect.github.com/paddyroddy/.github/compare/v0.250.0...v0.251.0)
###
[`v0.250.0`](https://redirect.github.com/paddyroddy/.github/compare/v0.249.0...v0.250.0)
[Compare
Source](https://redirect.github.com/paddyroddy/.github/compare/v0.249.0...v0.250.0)
###
[`v0.249.0`](https://redirect.github.com/paddyroddy/.github/compare/v0.248.0...v0.249.0)
[Compare
Source](https://redirect.github.com/paddyroddy/.github/compare/v0.248.0...v0.249.0)
###
[`v0.248.0`](https://redirect.github.com/paddyroddy/.github/compare/v0.247.0...v0.248.0)
[Compare
Source](https://redirect.github.com/paddyroddy/.github/compare/v0.247.0...v0.248.0)
###
[`v0.247.0`](https://redirect.github.com/paddyroddy/.github/compare/v0.246.0...v0.247.0)
[Compare
Source](https://redirect.github.com/paddyroddy/.github/compare/v0.246.0...v0.247.0)
###
[`v0.246.0`](https://redirect.github.com/paddyroddy/.github/compare/v0.245.0...v0.246.0)
[Compare
Source](https://redirect.github.com/paddyroddy/.github/compare/v0.245.0...v0.246.0)
###
[`v0.245.0`](https://redirect.github.com/paddyroddy/.github/compare/v0.244.0...v0.245.0)
[Compare
Source](https://redirect.github.com/paddyroddy/.github/compare/v0.244.0...v0.245.0)
###
[`v0.244.0`](https://redirect.github.com/paddyroddy/.github/compare/v0.243.0...v0.244.0)
[Compare
Source](https://redirect.github.com/paddyroddy/.github/compare/v0.243.0...v0.244.0)
###
[`v0.243.0`](https://redirect.github.com/paddyroddy/.github/compare/v0.242.0...v0.243.0)
[Compare
Source](https://redirect.github.com/paddyroddy/.github/compare/v0.242.0...v0.243.0)
###
[`v0.242.0`](https://redirect.github.com/paddyroddy/.github/compare/v0.241.0...v0.242.0)
[Compare
Source](https://redirect.github.com/paddyroddy/.github/compare/v0.241.0...v0.242.0)
---
### Configuration
📅 **Schedule**: Branch creation - "* 0-3 1 * *" (UTC), Automerge - "* *
* * 1-5" (UTC).
🚦 **Automerge**: Enabled.
â™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.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://mend.io/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/licence.yaml | 2 +-
.github/workflows/links.yaml | 2 +-
.github/workflows/linting.yaml | 2 +-
.github/workflows/test.yaml | 2 +-
.pre-commit-config.yaml | 2 +-
src/sleplet/__init__.py | 2 +-
src/sleplet/_bool_methods.py | 6 ++++--
src/sleplet/functions/fp.py | 6 +++---
src/sleplet/plotting/__init__.py | 2 +-
11 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 6df608c9c..bc013a64a 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@6630dca9555ad0bcebc93e0d9177aa416991fc97 # v0
+ - uses: paddyroddy/.github/actions/python/deployment@cde57fbdb1dcdc4cd2aacb0d34127e1582424621 # v0
with:
pyproject-toml: ./pyproject.toml
python-version: "3.12"
diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml
index 243e034cc..f37f08be8 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@6630dca9555ad0bcebc93e0d9177aa416991fc97 # v0
+ - uses: paddyroddy/.github/actions/python/pdoc@cde57fbdb1dcdc4cd2aacb0d34127e1582424621 # v0
with:
docs-dependency-section: .[docs]
gh-pages-publish-directory: ./html/sleplet
diff --git a/.github/workflows/licence.yaml b/.github/workflows/licence.yaml
index efd53091f..e52a49c21 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@6630dca9555ad0bcebc93e0d9177aa416991fc97 # v0
+ - uses: paddyroddy/.github/actions/licence@cde57fbdb1dcdc4cd2aacb0d34127e1582424621 # v0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
licence-file: ./LICENCE.txt
diff --git a/.github/workflows/links.yaml b/.github/workflows/links.yaml
index 1b8f4ad36..04b7a5831 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@6630dca9555ad0bcebc93e0d9177aa416991fc97 # v0
+ - uses: paddyroddy/.github/actions/links@cde57fbdb1dcdc4cd2aacb0d34127e1582424621 # v0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml
index 2208b0277..1b771517a 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@6630dca9555ad0bcebc93e0d9177aa416991fc97 # v0
+ - uses: paddyroddy/.github/actions/linting@cde57fbdb1dcdc4cd2aacb0d34127e1582424621 # v0
with:
pre-commit-config: ./.pre-commit-config.yaml
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 2153415b9..3f011a0b4 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -23,7 +23,7 @@ jobs:
- "3.12"
steps:
# yamllint disable-line rule:line-length
- - uses: paddyroddy/.github/actions/python/tox@6630dca9555ad0bcebc93e0d9177aa416991fc97 # v0
+ - uses: paddyroddy/.github/actions/python/tox@cde57fbdb1dcdc4cd2aacb0d34127e1582424621 # v0
with:
cache-path: |-
.tox
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index bf7280d76..9b96dd552 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/paddyroddy/.github
- rev: v0.241.0
+ rev: v0.254.0
hooks:
- id: general-hooks
- id: python-hooks
diff --git a/src/sleplet/__init__.py b/src/sleplet/__init__.py
index 6434cf652..e82c5f7dd 100644
--- a/src/sleplet/__init__.py
+++ b/src/sleplet/__init__.py
@@ -7,8 +7,8 @@
"noise",
"plot_methods",
"plotting",
- "slepian_methods",
"slepian",
+ "slepian_methods",
"wavelet_methods",
]
diff --git a/src/sleplet/_bool_methods.py b/src/sleplet/_bool_methods.py
index 0579cd392..5fe147770 100644
--- a/src/sleplet/_bool_methods.py
+++ b/src/sleplet/_bool_methods.py
@@ -24,8 +24,10 @@ def is_limited_lat_lon(
) -> bool:
"""Define a region by angles, just need one to not be the default."""
return (
- not is_polar_cap(phi_min, phi_max, theta_min, theta_max)
- and phi_min != sleplet._vars.PHI_MIN_DEFAULT
+ (
+ not is_polar_cap(phi_min, phi_max, theta_min, theta_max)
+ and phi_min != sleplet._vars.PHI_MIN_DEFAULT
+ )
or phi_max != sleplet._vars.PHI_MAX_DEFAULT
or theta_min != sleplet._vars.THETA_MIN_DEFAULT
)
diff --git a/src/sleplet/functions/fp.py b/src/sleplet/functions/fp.py
index 440dabcf5..093c1eba1 100644
--- a/src/sleplet/functions/fp.py
+++ b/src/sleplet/functions/fp.py
@@ -41,10 +41,10 @@ def __post_init__(self: typing_extensions.Self) -> None:
def rotate( # noqa: D102
self: typing_extensions.Self,
- alpha: float, # noqa: ARG002
- beta: float, # noqa: ARG002
+ alpha: float,
+ beta: float,
*,
- gamma: float = 0, # noqa: ARG002
+ gamma: float = 0,
) -> npt.NDArray[np.complex128]:
msg = "Slepian rotation is not defined"
raise NotImplementedError(msg)
diff --git a/src/sleplet/plotting/__init__.py b/src/sleplet/plotting/__init__.py
index a76c8b1fe..2d87cd3da 100644
--- a/src/sleplet/plotting/__init__.py
+++ b/src/sleplet/plotting/__init__.py
@@ -4,6 +4,6 @@
from ._create_plot_sphere import PlotSphere
__all__ = [
- "PlotSphere",
"PlotMesh",
+ "PlotSphere",
]