Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #326

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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/[email protected]
Expand All @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: code-style

on:
push:
branches: '*'
branches: "*"
pull_request:
branches: '*'
branches: "*"

jobs:
linting:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -31,19 +31,19 @@ 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]
- id: nbqa-isort
additional_dependencies: [isort==5.9.3]

- repo: https://github.com/psf/black
rev: 22.10.0
rev: 24.10.0
hooks:
- id: black-jupyter
4 changes: 2 additions & 2 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: 2

build:
os: 'ubuntu-22.04'
os: "ubuntu-22.04"
tools:
python: '3.9'
python: "3.9"

python:
install:
Expand Down
Loading