From ecc05db74b469af2b0f860049a7f1cffb53db5bb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:40:18 -0400 Subject: [PATCH] chore: update pre-commit hooks (#185) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: update pre-commit hooks updates: - [github.com/psf/black: 24.1.1 → 24.2.0](https://github.com/psf/black/compare/24.1.1...24.2.0) - [github.com/astral-sh/ruff-pre-commit: v0.2.1 → v0.3.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.1...v0.3.2) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.9.0) * style: pre-commit fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .devcontainer/cpu/devcontainer.json | 12 ++++++------ .pre-commit-config.yaml | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.devcontainer/cpu/devcontainer.json b/.devcontainer/cpu/devcontainer.json index c71bc569..55c62524 100644 --- a/.devcontainer/cpu/devcontainer.json +++ b/.devcontainer/cpu/devcontainer.json @@ -6,8 +6,8 @@ "context": "../..", "dockerfile": "../Dockerfile", "args": { - "CLANG_VERSION": "", - }, + "CLANG_VERSION": "" + } }, // Use 'forwardPorts' to make a list of ports inside the container available locally. @@ -26,10 +26,10 @@ "ms-python.python", "ms-vsliveshare.vsliveshare", "DavidAnson.vscode-markdownlint", - "GitHub.copilot", - ], - }, - }, + "GitHub.copilot" + ] + } + } // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 896eae87..92179771 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ ci: repos: - repo: https://github.com/psf/black - rev: "24.1.1" + rev: "24.2.0" hooks: - id: black-jupyter @@ -50,13 +50,13 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.2.1" + rev: "v0.3.2" hooks: - id: ruff args: ["--fix", "--show-fixes"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.8.0" + rev: "v1.9.0" hooks: - id: mypy files: src