From 409def9f44510878a24af325b2087c78b3997f12 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 7 Mar 2024 03:06:50 +0000 Subject: [PATCH] MAINT: implement updates from pre-commit hooks --- .pre-commit-config.yaml | 1 - .vscode/settings.json | 25 ++++++------------------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 60414cb..fd12d72 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -121,4 +121,3 @@ repos: rev: v1.1.352 hooks: - id: pyright - diff --git a/.vscode/settings.json b/.vscode/settings.json index 5aa7320..702f3f3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,8 +1,6 @@ { "[git-commit]": { - "editor.rulers": [ - 72 - ], + "editor.rulers": [72], "rewrap.wrappingColumn": 72 }, "[ipynb]": { @@ -22,16 +20,12 @@ "source.organizeImports": "explicit" }, "editor.defaultFormatter": "charliermarsh.ruff", - "editor.rulers": [ - 88 - ] + "editor.rulers": [88] }, "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "coverage-gutters.coverageFileNames": [ - "coverage.xml" - ], + "coverage-gutters.coverageFileNames": ["coverage.xml"], "coverage-gutters.coverageReportFileName": "**/htmlcov/index.html", "coverage-gutters.showGutterCoverage": false, "coverage-gutters.showLineCoverage": true, @@ -39,15 +33,11 @@ "diffEditor.experimental.showMoves": true, "editor.formatOnSave": true, "git.rebaseWhenSync": true, - "github-actions.workflows.pinned.workflows": [ - ".github/workflows/ci.yml" - ], + "github-actions.workflows.pinned.workflows": [".github/workflows/ci.yml"], "gitlens.telemetry.enabled": false, "livePreview.defaultPreviewPath": "docs/_build/html", "multiDiffEditor.experimental.enabled": true, - "mypy-type-checker.args": [ - "--config-file=${workspaceFolder}/pyproject.toml" - ], + "mypy-type-checker.args": ["--config-file=${workspaceFolder}/pyproject.toml"], "mypy-type-checker.importStrategy": "fromEnvironment", "notebook.codeActionsOnSave": { "notebook.source.organizeImports": "explicit" @@ -58,10 +48,7 @@ "python.analysis.inlayHints.pytestParameters": true, "python.analysis.typeCheckingMode": "strict", "python.languageServer": "Pylance", - "python.testing.pytestArgs": [ - "--color=no", - "--no-cov" - ], + "python.testing.pytestArgs": ["--color=no", "--no-cov"], "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, "redhat.telemetry.enabled": false,