From d31c0a5ac0a5c1a89b7e79d7a958d15a8d078372 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 21:04:13 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v5.0.0) - [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.3 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.3...v4.0.0-alpha.8) - [github.com/nbQA-dev/nbQA: 1.8.7 → 1.9.1](https://github.com/nbQA-dev/nbQA/compare/1.8.7...1.9.1) - [github.com/psf/black: 22.10.0 → 24.10.0](https://github.com/psf/black/compare/22.10.0...24.10.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 27804e4..c05adb9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ default_language_version: exclude: docs/source/notebooks/prect.ipynb repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -31,12 +31,12 @@ repos: # - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0-alpha.3 + rev: v4.0.0-alpha.8 hooks: - id: prettier - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.7 + rev: 1.9.1 hooks: - id: nbqa-pyupgrade additional_dependencies: [pyupgrade==2.7.3] @@ -44,6 +44,6 @@ repos: additional_dependencies: [isort==5.9.3] - repo: https://github.com/psf/black - rev: 22.10.0 + rev: 24.10.0 hooks: - id: black-jupyter From 43e1dfa0b76b7ec7db1dc04d0ce98c184a321c9b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 21:05:03 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/dependabot.yml | 6 +++--- .github/workflows/ci.yaml | 14 +++++++------- .github/workflows/linting.yaml | 4 ++-- .github/workflows/pypi.yaml | 2 +- readthedocs.yml | 4 ++-- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b4b3fa4..a048195 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,8 +4,8 @@ updates: # directory: "/" # schedule: # interval: daily - - package-ecosystem: 'github-actions' - directory: '/' + - package-ecosystem: "github-actions" + directory: "/" schedule: # Check for updates once a week - interval: 'weekly' + interval: "weekly" diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f1cdd82..e88ef0f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,12 +2,12 @@ name: CI on: push: branches: - - '*' + - "*" pull_request: branches: - - '*' + - "*" schedule: - - cron: '0 0 * * *' # Daily “At 00:00” UTC + - cron: "0 0 * * *" # Daily “At 00:00” UTC workflow_dispatch: # allows you to trigger the workflow run manually jobs: @@ -22,9 +22,9 @@ jobs: strategy: fail-fast: false matrix: - os: ['ubuntu-latest'] + os: ["ubuntu-latest"] # python-version: ['3.7', '3.8', '3.9'] - python-version: ['3.9'] + python-version: ["3.9"] steps: - name: Cancel previous runs uses: styfle/cancel-workflow-action@0.11.0 @@ -35,7 +35,7 @@ jobs: with: channels: conda-forge channel-priority: strict - mamba-version: '*' + mamba-version: "*" activate-environment: ldcpy # Defined in ci/environment.yml auto-update-conda: false python-version: ${{ matrix.python-version }} @@ -78,7 +78,7 @@ jobs: with: channels: conda-forge channel-priority: strict - mamba-version: '*' + mamba-version: "*" activate-environment: ldcpy # Defined in ci/environment.yml auto-update-conda: false python-version: 3.9 diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index 6cc100a..4f76f14 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -2,9 +2,9 @@ name: code-style on: push: - branches: '*' + branches: "*" pull_request: - branches: '*' + branches: "*" jobs: linting: diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 87552c7..1ce772a 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -14,7 +14,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.x' + python-version: "3.x" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/readthedocs.yml b/readthedocs.yml index 2970768..2c14a49 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,9 +1,9 @@ version: 2 build: - os: 'ubuntu-22.04' + os: "ubuntu-22.04" tools: - python: '3.9' + python: "3.9" python: install: