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 diff --git a/.gitignore b/.gitignore index 9ee6232..2057737 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ condaenv.*.requirements.txt +node_modules/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 72337af..654cb24 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: @@ -23,8 +24,8 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.0 + - repo: https://github.com/ComPWA/policy + rev: 0.2.0 hooks: - id: check-dev-files args: @@ -37,7 +38,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 diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 1e6d142..28e0af3 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,15 +1,17 @@ { "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", + "streetsidesoftware.code-spell-checker", "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"