-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: autoupdate pre-commit hooks (#19)
* DOC: make Colab TOC visible by default * DX: lint PRs with shared commitlint config * DX: merge `setup.cfg` into `pyproject.toml` * DX: switch to `black-jupyter` hook * DX: remove `.prettierrc` * DX: remove GitHub Issue templates * DX: synchronize ComPWA dev environment --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
6ef58fe
commit ff9492c
Showing
20 changed files
with
260 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Clean caches | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
workflow_dispatch: | ||
inputs: | ||
ref: | ||
description: Clean caches for this branch name or ref | ||
required: false | ||
type: string | ||
|
||
jobs: | ||
cleanup: | ||
name: Remove caches | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: ComPWA/actions/clean-caches@v1 | ||
with: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
ref: ${{ inputs.ref }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: PR linting | ||
on: | ||
pull_request: | ||
types: | ||
- edited | ||
- labeled | ||
- opened | ||
- reopened | ||
- synchronize | ||
- unlabeled | ||
|
||
jobs: | ||
check-labels: | ||
name: Check labels | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: docker://agilepathway/pull-request-label-checker:latest # cspell:ignore agilepathway | ||
with: | ||
any_of: >- | ||
🐛 Bug,✨ Feature,⚙️ Enhancement,⚠️ Interface,❗ Behavior,📝 Docs,🔨 Maintenance,🖱️ DX | ||
none_of: Epic,💫 Good first issue | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
check-title: | ||
name: Check title | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: npm install @compwa/commitlint-config | ||
- name: Create commitlint config | ||
run: | | ||
echo "module.exports = {extends: ['@compwa/commitlint-config']}" > commitlint.config.js | ||
- uses: JulienKode/pull-request-name-linter-action@v0.5.0 # cspell:ignore kode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
{ | ||
"editor.formatOnSave": true | ||
"[git-commit]": { | ||
"editor.rulers": [72], | ||
"rewrap.wrappingColumn": 72 | ||
}, | ||
"editor.formatOnSave": true, | ||
"livePreview.defaultPreviewPath": "docs/_build/html", | ||
"notebook.gotoSymbols.showAllSymbols": true, | ||
"rewrap.wrappingColumn": 88 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.