Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#176)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.4.0...v4.6.0)
- [github.com/asottile/pyupgrade: v3.10.1 → v3.16.0](asottile/pyupgrade@v3.10.1...v3.16.0)
- [github.com/psf/black: 23.7.0 → 24.4.2](psf/black@23.7.0...24.4.2)
- [github.com/keewis/blackdoc: v0.3.8 → v0.3.9](keewis/blackdoc@v0.3.8...v0.3.9)
- [github.com/PyCQA/flake8: 6.1.0 → 7.1.0](PyCQA/flake8@6.1.0...7.1.0)
- [github.com/PyCQA/isort: 5.12.0 → 5.13.2](PyCQA/isort@5.12.0...5.13.2)
- [github.com/pre-commit/mirrors-prettier: v3.0.3 → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.0.3...v4.0.0-alpha.8)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Dougie Squire <42455466+dougiesquire@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] and dougiesquire authored Jul 31, 2024
1 parent d5bd206 commit 8945f33
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bugreport.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Bug Report
description: File a bug report to help us improve
title: '[Bug]: '
labels: [bug, 'needs triage']
title: "[Bug]: "
labels: [bug, "needs triage"]
assignees: []
body:
- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/newfeature.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Feature Request
description: Suggest an idea for ecgtools
title: '[FEATURE]: '
title: "[FEATURE]: "
labels: [enhancement]
assignees: []
body:
Expand Down
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates once a week
interval: 'weekly'
interval: "weekly"
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main
pull_request:
schedule:
- cron: '0 0 * * *' # Daily “At 00:00”
- cron: "0 0 * * *" # Daily “At 00:00”
workflow_dispatch: # allows you to trigger manually

concurrency:
Expand All @@ -23,14 +23,14 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12']
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Create conda environment
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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- main
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

concurrency:
Expand All @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ["3.10"]
steps:
- uses: actions/checkout@v4
- name: Create conda environment
Expand All @@ -32,7 +32,7 @@ jobs:
channel-priority: strict
cache-env: true
cache-downloads: true
micromamba-version: 'latest'
micromamba-version: "latest"
environment-file: ci/environment-upstream-dev.yml
extra-specs: |
python=${{ matrix.python-version }}
Expand Down
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -15,34 +15,34 @@ repos:
- id: mixed-line-ending

- repo: https://github.com/asottile/pyupgrade
rev: v3.10.1
rev: v3.16.0
hooks:
- id: pyupgrade
args:
- '--py38-plus'
- "--py38-plus"

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.4.2
hooks:
- id: black-jupyter
- id: black

- repo: https://github.com/keewis/blackdoc
rev: v0.3.8
rev: v0.3.9
hooks:
- id: blackdoc

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.1.0
hooks:
- id: flake8

- 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
4 changes: 2 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ codecov:
comment: false

ignore:
- 'tests/*.py'
- 'setup.py'
- "tests/*.py"
- "setup.py"

coverage:
precision: 2
Expand Down
4 changes: 2 additions & 2 deletions docs/source/how-to/cesm2-smyle.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
catalog_name: campaign-cesm2-symle
collection: cesm2_smyle
description: 'Seasonal-to-Multiyear Large Ensemble (SMYLE) using CESM2'
description: "Seasonal-to-Multiyear Large Ensemble (SMYLE) using CESM2"
root_path: /glade/campaign/cesm/development/espwg/SMYLE/archive/
extension: '*.nc'
extension: "*.nc"
depth: 4
exclude_patterns: []
nbatches: 40
Expand Down
4 changes: 2 additions & 2 deletions readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ version: 2
conda:
environment: ci/environment-docs.yml
build:
os: 'ubuntu-20.04'
os: "ubuntu-20.04"
tools:
python: 'mambaforge-4.10'
python: "mambaforge-4.10"

0 comments on commit 8945f33

Please sign in to comment.