Skip to content

Commit 85ac3b8

Browse files
Renovate: actions/setup-python to f677139 (#407)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-python](https://redirect.github.com/actions/setup-python) | action | digest | `39cd149` -> `f677139` | --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - "every weekday" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->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). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Patrick J. Roddy <[email protected]>
1 parent 4cbeaa2 commit 85ac3b8

12 files changed

+44
-44
lines changed

.github/workflows/examples.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
2323

2424
- name: Set up python
25-
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5
25+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
2626
with:
2727
python-version: "3.12"
2828
cache: pip
@@ -47,7 +47,7 @@ jobs:
4747
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
4848

4949
- name: Set up python
50-
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5
50+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
5151
with:
5252
python-version: "3.12"
5353
cache: pip

CODE_OF_CONDUCT.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ diverse, inclusive, and healthy community.
1414

1515
## Our Standards
1616

17-
Examples of behavior that contributes to a positive environment for our
17+
Examples of behaviour that contributes to a positive environment for our
1818
community include:
1919

2020
- Demonstrating empathy and kindness toward other people
2121
- Being respectful of differing opinions, viewpoints, and experiences
2222
- Giving and gracefully accepting constructive feedback
23-
- Accepting responsibility and apologizing to those affected by our mistakes,
23+
- Accepting responsibility and apologising to those affected by our mistakes,
2424
and learning from the experience
2525
- Focusing on what is best not just for us as individuals, but for the overall
2626
community
2727

28-
Examples of unacceptable behavior include:
28+
Examples of unacceptable behaviour include:
2929

30-
- The use of sexualized language or imagery, and sexual attention or advances of
30+
- The use of sexualised language or imagery, and sexual attention or advances of
3131
any kind
3232
- Trolling, insulting or derogatory comments, and personal or political attacks
3333
- Public or private harassment
@@ -39,8 +39,8 @@ Examples of unacceptable behavior include:
3939
## Enforcement Responsibilities
4040

4141
Community leaders are responsible for clarifying and enforcing our standards of
42-
acceptable behavior and will take appropriate and fair corrective action in
43-
response to any behavior that they deem inappropriate, threatening, offensive,
42+
acceptable behaviour and will take appropriate and fair corrective action in
43+
response to any behaviour that they deem inappropriate, threatening, offensive,
4444
or harmful.
4545

4646
Community leaders have the right and responsibility to remove, edit, or reject
@@ -58,7 +58,7 @@ representative at an online or offline event.
5858

5959
## Enforcement
6060

61-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
61+
Instances of abusive, harassing, or otherwise unacceptable behaviour may be
6262
reported to the community leaders responsible for enforcement at
6363
<[email protected]>. All complaints will be reviewed and investigated
6464
promptly and fairly.
@@ -73,19 +73,19 @@ the consequences for any action they deem in violation of this Code of Conduct:
7373

7474
### 1. Correction
7575

76-
**Community Impact**: Use of inappropriate language or other behavior deemed
76+
**Community Impact**: Use of inappropriate language or other behaviour deemed
7777
unprofessional or unwelcome in the community.
7878

7979
**Consequence**: A private, written warning from community leaders, providing
8080
clarity around the nature of the violation and an explanation of why the
81-
behavior was inappropriate. A public apology may be requested.
81+
behaviour was inappropriate. A public apology may be requested.
8282

8383
### 2. Warning
8484

8585
**Community Impact**: A violation through a single incident or series of
8686
actions.
8787

88-
**Consequence**: A warning with consequences for continued behavior. No
88+
**Consequence**: A warning with consequences for continued behaviour. No
8989
interaction with the people involved, including unsolicited interaction with
9090
those enforcing the Code of Conduct, for a specified period of time. This
9191
includes avoiding interactions in community spaces as well as external channels
@@ -95,7 +95,7 @@ ban.
9595
### 3. Temporary Ban
9696

9797
**Community Impact**: A serious violation of community standards, including
98-
sustained inappropriate behavior.
98+
sustained inappropriate behaviour.
9999

100100
**Consequence**: A temporary ban from any sort of interaction or public
101101
communication with the community for a specified period of time. No public or
@@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
106106
### 4. Permanent Ban
107107

108108
**Community Impact**: Demonstrating a pattern of violation of community
109-
standards, including sustained inappropriate behavior, harassment of an
109+
standards, including sustained inappropriate behaviour, harassment of an
110110
individual, or aggression toward or disparagement of classes of individuals.
111111

112112
**Consequence**: A permanent ban from any sort of public interaction within the

src/sleplet/_convolution_methods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ def sifting_convolution(
1616
if len(g_coefficient.shape) < len(f_coefficient.shape)
1717
else g_coefficient
1818
)
19-
return (f_coefficient.T[:n] * g_reshape.conj().T[:n]).T
19+
return (f_coefficient.T[:n] * g_reshape.conj().T[:n]).T # type: ignore[return-value]

src/sleplet/_data/meshes_regions_bird.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
CAMERA_X = 2
22
CAMERA_Y = 1
33
CAMERA_Z = 0
4-
CENTER_X = 0.27
5-
CENTER_Y = 0
6-
CENTER_Z = -0.08
4+
CENTRE_X = 0.27
5+
CENTRE_Y = 0
6+
CENTRE_Z = -0.08
77
DEFAULT_COLOURBAR_POS = 0.98
88
DEFAULT_ZOOM = 1.49
99
FILENAME = "bird.off"

src/sleplet/_data/meshes_regions_cheetah.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
CAMERA_X = 3
22
CAMERA_Y = 1
33
CAMERA_Z = 0
4-
CENTER_X = 0
5-
CENTER_Y = 0
6-
CENTER_Z = -0.275
4+
CENTRE_X = 0
5+
CENTRE_Y = 0
6+
CENTRE_Z = -0.275
77
DEFAULT_COLOURBAR_POS = 0.75
88
DEFAULT_ZOOM = 1.89
99
FILENAME = "cheetah.off"

src/sleplet/_data/meshes_regions_cube.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
CAMERA_X = 1
22
CAMERA_Y = 1
33
CAMERA_Z = 1
4-
CENTER_X = 0
5-
CENTER_Y = 0
6-
CENTER_Z = 0.25
4+
CENTRE_X = 0
5+
CENTRE_Y = 0
6+
CENTRE_Z = 0.25
77
DEFAULT_COLOURBAR_POS = 0.85
88
DEFAULT_ZOOM = 0.81
99
FILENAME = "cube.off"

src/sleplet/_data/meshes_regions_dragon.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
CAMERA_X = 1
22
CAMERA_Y = 1
33
CAMERA_Z = 0
4-
CENTER_X = 0.15
5-
CENTER_Y = 0
6-
CENTER_Z = 0.07
4+
CENTRE_X = 0.15
5+
CENTRE_Y = 0
6+
CENTRE_Z = 0.07
77
DEFAULT_COLOURBAR_POS = 0.99
88
DEFAULT_ZOOM = 0.95
99
FILENAME = "dragon.off"

src/sleplet/_data/meshes_regions_homer.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
CAMERA_X = 0
22
CAMERA_Y = 1
33
CAMERA_Z = 0.5
4-
CENTER_X = 0
5-
CENTER_Y = 0
6-
CENTER_Z = 0.49
4+
CENTRE_X = 0
5+
CENTRE_Y = 0
6+
CENTRE_Z = 0.49
77
DEFAULT_COLOURBAR_POS = 0.69
88
DEFAULT_ZOOM = 0.5
99
FILENAME = "homer.off"

src/sleplet/_data/meshes_regions_teapot.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
CAMERA_X = 0
22
CAMERA_Y = 1
33
CAMERA_Z = 1
4-
CENTER_X = -0.055
5-
CENTER_Y = 0
6-
CENTER_Z = 0.1
4+
CENTRE_X = -0.055
5+
CENTRE_Y = 0
6+
CENTRE_Z = 0.1
77
DEFAULT_COLOURBAR_POS = 0.95
88
DEFAULT_ZOOM = 0.8
99
FILENAME = "teapot.off"

src/sleplet/_plotly_methods.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ def create_camera( # noqa: PLR0913
1818
z_eye: float,
1919
zoom: float,
2020
*,
21-
x_center: float = 0,
22-
y_center: float = 0,
23-
z_center: float = 0,
21+
x_centre: float = 0,
22+
y_centre: float = 0,
23+
z_centre: float = 0,
2424
) -> go.layout.scene.Camera:
2525
"""Create default camera view with a zoom factor."""
2626
return go.layout.scene.Camera(
2727
eye=go.layout.scene.camera.Eye(x=x_eye / zoom, y=y_eye / zoom, z=z_eye / zoom),
28-
center=go.layout.scene.camera.Center(x=x_center, y=y_center, z=z_center),
28+
center=go.layout.scene.camera.Center(x=x_centre, y=y_centre, z=z_centre),
2929
)
3030

3131

0 commit comments

Comments
 (0)