From c0f0128170cba86dc01162d34e5c354f527b22fb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jan 2024 11:16:54 +0000 Subject: [PATCH 1/6] Bump actions/setup-python from 4 to 5 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/update-tags.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-tags.yml b/.github/workflows/update-tags.yml index 913c19d..d9238ab 100644 --- a/.github/workflows/update-tags.yml +++ b/.github/workflows/update-tags.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.8" - run: pip install -r requirements.txt From 0f122bcaef42d3eb88b1996b77b1451f991cb5cd Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 10 Jan 2024 21:13:05 +0100 Subject: [PATCH 2/6] MAINT: autoupdate pre-commit hooks --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 72337af..77e8c4a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.0 + rev: 0.1.13a2 hooks: - id: check-dev-files args: @@ -37,7 +37,7 @@ repos: - --repo-name=mirrors-taplo - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v4.0.0-alpha.8 hooks: - id: prettier From 76d8a32a531f1fbeb8197dd9fb7d6a0e8ef50a33 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 10 Jan 2024 21:14:05 +0100 Subject: [PATCH 3/6] DX: update developer environment --- .pre-commit-config.yaml | 1 + .vscode/extensions.json | 3 ++- .vscode/settings.json | 2 ++ environment.yml | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 77e8c4a..119dd29 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,7 @@ ci: autoupdate_commit_msg: "MAINT: autoupdate pre-commit hooks" autoupdate_schedule: quarterly skip: + - prettier - taplo repos: diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 1e6d142..d7908d1 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,15 +1,16 @@ { "recommendations": [ "esbenp.prettier-vscode", - "garaioag.garaio-vscode-unwanted-recommendations", "github.vscode-github-actions", "ms-azuretools.vscode-docker", "ms-python.python", "redhat.vscode-yaml", + "Soulcode.vscode-unwanted-extensions", "stkb.rewrap" ], "unwantedRecommendations": [ "davidanson.vscode-markdownlint", + "garaioag.garaio-vscode-unwanted-recommendations", "travisillig.vscode-json-stable-stringify" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index e34a16f..74d4a5a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,7 +3,9 @@ "editor.rulers": [72], "rewrap.wrappingColumn": 72 }, + "diffEditor.experimental.showMoves": true, "editor.formatOnSave": true, "github-actions.workflows.pinned.workflows": [".github/workflows/ci.yml"], + "multiDiffEditor.experimental.enabled": true, "rewrap.wrappingColumn": 88 } diff --git a/environment.yml b/environment.yml index 9254eaa..51fe7d8 100644 --- a/environment.yml +++ b/environment.yml @@ -4,3 +4,5 @@ dependencies: - pip - pip: - -r requirements.txt +variables: + PRETTIER_LEGACY_CLI: "1" From 07b27e0af68b5eb1db9864a8016aac094433bb55 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 10 Jan 2024 21:14:47 +0100 Subject: [PATCH 4/6] MAINT: add `node_modules/` to `.gitignore` --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 9ee6232..2057737 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ condaenv.*.requirements.txt +node_modules/ From 07e7934a8fd45b380c2027583c6d6b29f793d2c6 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 11 Jan 2024 19:22:13 +0100 Subject: [PATCH 5/6] MAINT: autoupdate pre-commit hooks and apply --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 119dd29..175a22b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.13a2 + rev: 0.1.13a6 hooks: - id: check-dev-files args: From 6d2fae12751c9e5f9eb8d2f941405378e95dc66d Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 12 Jan 2024 18:15:32 +0100 Subject: [PATCH 6/6] MAINT: autoupdate pre-commit hooks and apply --- .pre-commit-config.yaml | 4 ++-- .vscode/extensions.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 175a22b..654cb24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,8 +24,8 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.13a6 + - repo: https://github.com/ComPWA/policy + rev: 0.2.0 hooks: - id: check-dev-files args: diff --git a/.vscode/extensions.json b/.vscode/extensions.json index d7908d1..28e0af3 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -11,6 +11,7 @@ "unwantedRecommendations": [ "davidanson.vscode-markdownlint", "garaioag.garaio-vscode-unwanted-recommendations", + "streetsidesoftware.code-spell-checker", "travisillig.vscode-json-stable-stringify" ] }