From 459e1369a284bd585665d95eddb90ecd5afc2d1a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 07:34:05 +0000 Subject: [PATCH 1/2] Bump the actions group across 1 directory with 3 updates Bumps the actions group with 3 updates in the / directory: [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance), [mamba-org/setup-micromamba](https://github.com/mamba-org/setup-micromamba) and [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `actions/attest-build-provenance` from 1.4.1 to 2.2.0 - [Release notes](https://github.com/actions/attest-build-provenance/releases) - [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md) - [Commits](https://github.com/actions/attest-build-provenance/compare/v1.4.1...v2.2.0) Updates `mamba-org/setup-micromamba` from 1 to 2 - [Release notes](https://github.com/mamba-org/setup-micromamba/releases) - [Commits](https://github.com/mamba-org/setup-micromamba/compare/v1...v2) Updates `codecov/codecov-action` from 4.5.0 to 5.3.1 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v4.5.0...v5.3.1) --- updated-dependencies: - dependency-name: actions/attest-build-provenance dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: mamba-org/setup-micromamba dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 79c2dbd1..eee1e279 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -49,7 +49,7 @@ jobs: path: dist - name: Generate artifact attestation for sdist and wheel - uses: actions/attest-build-provenance@v1.4.1 + uses: actions/attest-build-provenance@v2.2.0 with: subject-path: "dist/*" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f3e2228..6fcc6cc5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: mamba-org/setup-micromamba@v1 + - uses: mamba-org/setup-micromamba@v2 with: environment-name: ship environment-file: environment.yml @@ -49,6 +49,6 @@ jobs: --durations=20 - name: Upload coverage report - uses: codecov/codecov-action@v4.5.0 + uses: codecov/codecov-action@v5.3.1 with: token: ${{ secrets.CODECOV_TOKEN }} From e54d3d155d2b06e0e871acc450c23984fad7cebb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 07:34:11 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/tutorials/ADCP_data_tutorial.ipynb | 2 +- docs/tutorials/CTD_data_tutorial.ipynb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/ADCP_data_tutorial.ipynb b/docs/tutorials/ADCP_data_tutorial.ipynb index 9df68b3d..a7fe063b 100644 --- a/docs/tutorials/ADCP_data_tutorial.ipynb +++ b/docs/tutorials/ADCP_data_tutorial.ipynb @@ -128,7 +128,7 @@ " {\"long_name\": \"distance to coast\", \"units\": \"m\", \"positive\": \"shoreward\"}\n", ")\n", "peru = peru.set_coords(\"s\").sortby(\"s\")\n", - "print(f\"max distance from coast: {abs(peru.s.min()).data/1000:.2f} km\")" + "print(f\"max distance from coast: {abs(peru.s.min()).data / 1000:.2f} km\")" ] }, { diff --git a/docs/tutorials/CTD_data_tutorial.ipynb b/docs/tutorials/CTD_data_tutorial.ipynb index c374a476..fcd5d181 100644 --- a/docs/tutorials/CTD_data_tutorial.ipynb +++ b/docs/tutorials/CTD_data_tutorial.ipynb @@ -263,12 +263,12 @@ "source": [ "# Fill the dataset with values from the csv files.\n", "for ob in range(5): # loop through files\n", - " header = pd.read_csv(f\"Japan/CTD_Japan_station_{ob+1}.csv\", nrows=7, header=None)\n", + " header = pd.read_csv(f\"Japan/CTD_Japan_station_{ob + 1}.csv\", nrows=7, header=None)\n", " ctd.lon[ob] = header.iloc[0, 1]\n", " ctd.lat[ob] = header.iloc[1, 1]\n", " ctd.start_time[ob] = header.iloc[2, 1]\n", " ctd.end_time[ob] = header.iloc[3, 1]\n", - " data = pd.read_csv(f\"Japan/CTD_Japan_station_{ob+1}.csv\", skiprows=4)\n", + " data = pd.read_csv(f\"Japan/CTD_Japan_station_{ob + 1}.csv\", skiprows=4)\n", " ctd.P[:, ob] = data[\"pressure [hPa]\"]\n", " ctd.T[:, ob] = data[\"temperature [degC]\"]\n", " ctd.S[:, ob] = data[\"salinity [g kg-1]\"]"