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

Add prettier to markdown and yaml #6040

Merged
merged 5 commits into from
Dec 19, 2023
Merged
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
14 changes: 7 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ name: packages
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+a[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+b[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+rc[0-9]+'
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+a[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+b[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+rc[0-9]+"
# Dry-run only
workflow_dispatch:
schedule:
- cron: '0 14 * * SUN'
- cron: "0 14 * * SUN"

jobs:
conda_build:
name: Build Conda Packages
runs-on: 'ubuntu-latest'
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -l {0}
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
anaconda --token $CONDA_UPLOAD_TOKEN upload --user pyviz --label=dev --label=main $FILE
pip_build:
name: Build PyPI Packages
runs-on: 'ubuntu-latest'
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -l {0}
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,28 @@ name: docs
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+a[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+b[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+rc[0-9]+'
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+a[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+b[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+rc[0-9]+"
workflow_dispatch:
inputs:
target:
description: 'Site to build and deploy, or dry-run'
description: "Site to build and deploy, or dry-run"
type: choice
options:
- dev
- main
- dryrun
- dev
- main
- dryrun
required: true
default: dryrun
schedule:
- cron: '0 14 * * SUN'
- cron: "0 14 * * SUN"

jobs:
build_docs:
name: Documentation
runs-on: 'ubuntu-latest'
runs-on: "ubuntu-latest"
timeout-minutes: 120
defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/downstream_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
downstream_tests:
uses: holoviz-dev/holoviz_tasks/.github/workflows/run_downstream_tests.yaml@main
with:
downstream_repos_as_json: "{\"downstream_repo\":[\"hvplot\", \"geoviews\"]}"
downstream_repos_as_json: '{"downstream_repo":["hvplot", "geoviews"]}'
secrets:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
19 changes: 14 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,21 @@ repos:
- id: check-json
- id: detect-private-key
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
rev: v0.1.8
hooks:
- id: ruff
files: holoviews/|scripts/
- repo: https://github.com/hoxbro/clean_notebook
rev: v0.1.13
rev: v0.1.14
hooks:
- id: clean-notebook
args: [--strip-trailing-newlines]
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
additional_dependencies:
- tomli
- id: codespell
additional_dependencies:
- tomli
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
Expand All @@ -44,3 +45,11 @@ repos:
rev: v0.9.0.6
hooks:
- id: shellcheck
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.7
hooks:
- id: prettier
exclude: conda.recipe/meta.yaml
types_or:
- markdown
- yaml
Loading