Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/black-24.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Apr 25, 2024
2 parents 2a0c2ae + 331a4d3 commit 5a5daf2
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bump-version.yml
Expand Up @@ -43,7 +43,7 @@ jobs:
files.pythonhosted.org:443
github.com:443
pypi.org:443
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
persist-credentials: false
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cache-cleaner.yml
Expand Up @@ -23,7 +23,7 @@ jobs:
objects.githubusercontent.com:443
- name: Check out code
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: Cleanup
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Expand Up @@ -49,7 +49,7 @@ jobs:
pypi.org:443
uploads.github.com:443
- name: Checkout repository
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@1245696032ecf7d39f87d54daa406e22ddf769a8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Expand Up @@ -26,7 +26,7 @@ jobs:
github.com:443
- name: 'Checkout Repository'
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: 'Dependency Review'
uses: actions/dependency-review-action@5bbc3ba658137598168acb2ab73b21c432dd411b
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Expand Up @@ -52,7 +52,7 @@ jobs:
files.pythonhosted.org:443
github.com:443
pypi.org:443
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up Python${{ matrix.python-version }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
github.com:443
pypi.org:443
raw.githubusercontent.com:443
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up Python${{ matrix.python-version }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
ppa.launchpadcontent.net:443
pypi.org:443
raw.githubusercontent.com:443
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Eigen3
if: contains(matrix.tox-env, 'sbck')
run: |
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
pypi.org:443
raw.githubusercontent.com:443
repo.anaconda.com:443
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Conda (Micromamba) with Python${{ matrix.python-version }}
uses: mamba-org/setup-micromamba@422500192359a097648154e8db4e39bdb6c6eed7 # v1.8.1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-mastodon.yml
Expand Up @@ -35,7 +35,7 @@ jobs:
github.com:443
- name: Checkout
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: Current Version
if: ${{ !github.event.inputs.version-tag }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Expand Up @@ -27,7 +27,7 @@ jobs:
github.com:443
pypi.org:443
upload.pypi.org:443
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up Python3
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Expand Up @@ -35,7 +35,7 @@ jobs:
egress-policy: audit

- name: "Checkout code"
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
with:
persist-credentials: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag-testpypi.yml
Expand Up @@ -27,7 +27,7 @@ jobs:
github.com:443
pypi.org:443
test.pypi.org:443
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up Python3
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testdata-version.yml
Expand Up @@ -30,7 +30,7 @@ jobs:
allowed-endpoints: >
api.github.com:443
github.com:443
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Find xclim-testdata Tag and CI Testing Branch
run: |
XCLIM_TESTDATA_TAG="$( \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upstream.yml
Expand Up @@ -54,7 +54,7 @@ jobs:
pypi.org:443
raw.githubusercontent.com:443
repo.anaconda.com:443
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Setup Conda (Micromamba) with Python${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions xclim/sdba/adjustment.py
Expand Up @@ -107,9 +107,9 @@ def _check_inputs(cls, *inputs, group):
not all(mvcrds[0].equals(mv) for mv in mvcrds[1:])
or len(mvcrds) != len(inputs)
):
coords = {mv.name for mv in mvcrds}
raise ValueError(
"Inputs have different multivariate coordinates "
f"({{mv.name for mv in mvcrds}})."
f"Inputs have different multivariate coordinates: {', '.join(coords)}."
)

if group.prop == "dayofyear" and (
Expand Down

0 comments on commit 5a5daf2

Please sign in to comment.