diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b4b3fa44..a0481954 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 416ec9dc..e873c006 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,9 +6,9 @@ on: - master pull_request: branches: - - '*' + - "*" schedule: - - cron: '0 0 * * *' # Daily “At 00:00” + - cron: "0 0 * * *" # Daily “At 00:00” workflow_dispatch: # allows you to trigger manually jobs: @@ -22,13 +22,13 @@ jobs: matrix: include: # Warning: Unless in quotations, numbers below are read as floats. 3.10 < 3.2 - - python-version: '3.8' + - python-version: "3.8" esmf-version: 8.2 - - python-version: '3.9' + - python-version: "3.9" esmf-version: 8.3 - - python-version: '3.10' + - python-version: "3.10" esmf-version: 8.4 - - python-version: '3.11' + - python-version: "3.11" esmf-version: 8.4 steps: - name: Cancel previous runs @@ -41,7 +41,7 @@ jobs: uses: mamba-org/provision-with-micromamba@main with: cache-downloads: true - micromamba-version: 'latest' + micromamba-version: "latest" environment-file: ci/environment.yml extra-specs: | python=${{ matrix.python-version }} @@ -78,7 +78,7 @@ jobs: uses: mamba-org/provision-with-micromamba@v16 with: cache-downloads: true - micromamba-version: 'latest' + micromamba-version: "latest" environment-file: ci/environment-upstream-dev.yml extra-specs: | python=3.10 diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index 5daeaedb..1ecbb2cc 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -5,7 +5,7 @@ on: branches: - master pull_request: - branches: '*' + branches: "*" jobs: linting: @@ -14,5 +14,5 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: "3.x" - uses: pre-commit/action@v3.0.0 diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index a1bb40ba..fa44f410 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -22,7 +22,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: "3.x" - name: Get tags run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2c74e10a..0513ab92 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - id: double-quote-string-fixer - repo: https://github.com/psf/black - rev: 23.10.1 + rev: 23.12.1 hooks: - id: black @@ -32,12 +32,12 @@ repos: hooks: - id: seed-isort-config - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v4.0.0-alpha.8 hooks: - id: prettier @@ -47,14 +47,14 @@ repos: - id: prenotebook args: [ - '--keep-output', - '--keep-metadata', - '--keep-execution-count', - '--keep-empty', + "--keep-output", + "--keep-metadata", + "--keep-execution-count", + "--keep-empty", ] - repo: https://github.com/tox-dev/pyproject-fmt - rev: 1.4.1 + rev: 1.5.3 hooks: - id: pyproject-fmt @@ -64,7 +64,7 @@ ci: for more information, see https://pre-commit.ci autofix_prs: true - autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate' + autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate" autoupdate_schedule: monthly skip: [] submodules: false diff --git a/codecov.yml b/codecov.yml index 1e11ad52..48e15cbc 100644 --- a/codecov.yml +++ b/codecov.yml @@ -5,8 +5,8 @@ codecov: comment: false ignore: - - 'xesmf/tests/*' - - 'setup.py' + - "xesmf/tests/*" + - "setup.py" coverage: precision: 2 diff --git a/readthedocs.yml b/readthedocs.yml index f0c4a4ae..6c9b800f 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -3,7 +3,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: '3.9' + python: "3.9" python: install: