diff --git a/.cspell.json b/.cspell.json index a20cad4e..e988efba 100644 --- a/.cspell.json +++ b/.cspell.json @@ -31,6 +31,7 @@ ".gitpod.*", ".mypy.ini", ".pre-commit-config.yaml", + ".prettierignore", ".pydocstyle*", ".pylintrc", ".readthedocs.yml", diff --git a/.gitpod.yml b/.gitpod.yml index 70cff4c0..d0851e12 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -15,6 +15,7 @@ vscode: extensions: - bungcip.better-toml - christian-kohler.path-intellisense + - cschleiden.vscode-github-actions - davidanson.vscode-markdownlint - eamodio.gitlens - editorconfig.editorconfig diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 423a6364..e572dec4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,7 +36,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 22.1.0 + rev: 22.3.0 hooks: - id: black @@ -46,13 +46,13 @@ repos: - id: blacken-docs - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.0.118 + rev: 0.0.119 hooks: - id: check-dev-files - id: format-setup-cfg - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v5.8.4 + rev: v5.9.0 hooks: - id: cspell @@ -76,7 +76,7 @@ repos: - id: markdownlint - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.5.1 + rev: v2.6.2 hooks: - id: prettier @@ -86,12 +86,12 @@ repos: - id: pydocstyle - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.227 + rev: v1.1.234 hooks: - id: pyright - repo: https://github.com/asottile/pyupgrade - rev: v2.31.0 + rev: v2.31.1 hooks: - id: pyupgrade args: diff --git a/.prettierignore b/.prettierignore index f348eafa..4fffca73 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,3 @@ +*.ipynb .cspell.json +LICENSE diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 9d493373..402ad670 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,6 +2,7 @@ "recommendations": [ "bungcip.better-toml", "christian-kohler.path-intellisense", + "cschleiden.vscode-github-actions", "davidanson.vscode-markdownlint", "eamodio.gitlens", "editorconfig.editorconfig", diff --git a/.vscode/settings.json b/.vscode/settings.json index f9af7e41..e439f855 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,9 +2,6 @@ "[bibtex]": { "editor.formatOnSave": false }, - "[ipynb]": { - "editor.formatOnSave": false - }, "[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, @@ -37,12 +34,13 @@ "**/.tox/**": true }, "git.rebaseWhenSync": true, - "githubPullRequests.telemetry.enabled": false, - "gitlens.advanced.telemetry.enabled": false, + "github-actions.workflows.pinned.workflows": [ + ".github/workflows/ci-tests.yml", + ".github/workflows/ci-style.yml" + ], "python.analysis.autoImportCompletions": false, "python.analysis.diagnosticMode": "workspace", "python.formatting.provider": "black", - "python.languageServer": "Pylance", "python.linting.banditEnabled": false, "python.linting.enabled": true, "python.linting.flake8Enabled": true, @@ -51,8 +49,6 @@ "python.linting.pylamaEnabled": false, "python.linting.pylintCategorySeverity.refactor": "Information", "python.linting.pylintEnabled": true, - "python.linting.pylintUseMinimalCheckers": false, - "python.testing.nosetestsEnabled": false, "python.testing.pytestArgs": ["--color=no", "--no-cov", "-vv"], "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, @@ -63,6 +59,5 @@ ".constraints/*.txt": true, "src/repoma/.github/ISSUE_TEMPLATE": true }, - "telemetry.enableCrashReporter": false, - "telemetry.enableTelemetry": false + "telemetry.telemetryLevel": "off" } diff --git a/tests/check_dev_files/test_gitpod.py b/tests/check_dev_files/test_gitpod.py index d7a3eb73..40894ee1 100644 --- a/tests/check_dev_files/test_gitpod.py +++ b/tests/check_dev_files/test_gitpod.py @@ -11,6 +11,7 @@ def test_extract_extensions(): # cspell:disable "bungcip.better-toml", "christian-kohler.path-intellisense", + "cschleiden.vscode-github-actions", "davidanson.vscode-markdownlint", "eamodio.gitlens", "editorconfig.editorconfig",