From 2a29a5dc8d0541096ce361bef1c15305721cd38a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Jun 2025 21:08:46 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.1 → v0.12.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.1...v0.12.0) - [github.com/psf/black: 23.10.1 → 25.1.0](https://github.com/psf/black/compare/23.10.1...25.1.0) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0) - [github.com/pycqa/flake8: 6.1.0 → 7.3.0](https://github.com/pycqa/flake8/compare/6.1.0...7.3.0) - [github.com/PyCQA/autoflake: v2.2.1 → v2.3.1](https://github.com/PyCQA/autoflake/compare/v2.2.1...v2.3.1) - [github.com/asottile/pyupgrade: v3.15.0 → v3.20.0](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.20.0) - [github.com/pre-commit/mirrors-prettier: v3.0.3 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.3...v4.0.0-alpha.8) - [github.com/pycqa/isort: 5.12.0 → 6.0.1](https://github.com/pycqa/isort/compare/5.12.0...6.0.1) - [github.com/sirosen/check-jsonschema: 0.27.0 → 0.33.1](https://github.com/sirosen/check-jsonschema/compare/0.27.0...0.33.1) --- .pre-commit-config.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 584044f8..a1c7c0b5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,12 +16,12 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. TODO: remove flake8 in future - rev: "v0.1.1" + rev: "v0.12.0" hooks: - id: ruff args: [--fix] - repo: https://github.com/psf/black - rev: 23.10.1 + rev: 25.1.0 hooks: - id: black name: black @@ -29,7 +29,7 @@ repos: language: system types: [python] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 # Use the ref you want to point at + rev: v5.0.0 # Use the ref you want to point at hooks: - id: check-added-large-files name: Check for added large files @@ -55,14 +55,14 @@ repos: entry: end-of-file-fixer language: system types: [text] - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] exclude: docs/ - id: trailing-whitespace name: Trim Trailing Whitespace entry: trailing-whitespace-fixer language: system types: [text] - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] - repo: https://github.com/pocc/pre-commit-hooks rev: v1.3.5 hooks: @@ -89,7 +89,7 @@ repos: ] files: \.(c|h|cpp)$ - repo: https://github.com/pycqa/flake8 - rev: "6.1.0" # pick a git hash / tag to point to + rev: "7.3.0" # pick a git hash / tag to point to hooks: - id: flake8 name: flake8 @@ -99,7 +99,7 @@ repos: require_serial: true additional_dependencies: [Flake8-pyproject] - repo: https://github.com/PyCQA/autoflake - rev: v2.2.1 + rev: v2.3.1 hooks: - id: autoflake name: autoflake @@ -113,7 +113,7 @@ repos: - "--remove-duplicate-keys" - "--remove-unused-variables" - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.20.0 hooks: - id: pyupgrade name: pyupgrade @@ -123,11 +123,11 @@ repos: types: [python] args: [--py38-plus] - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v4.0.0-alpha.8 hooks: - id: prettier - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 6.0.1 hooks: - id: isort name: isort (python) @@ -145,7 +145,7 @@ repos: types: [file] files: (\.cmake|CMakeLists.txt)(.in)?$ - repo: https://github.com/sirosen/check-jsonschema - rev: 0.27.0 + rev: 0.33.1 hooks: - id: check-github-actions - id: check-github-workflows From acf031147dac61db01425600c4ea83e714cd7fa5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Jun 2025 21:08:56 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/ISSUE_TEMPLATE/bug_report.md | 6 +++--- .github/pull_request_template.md | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 3f0de4f1..6bf86dfa 100755 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -24,9 +24,9 @@ Steps to reproduce the behavior: **System [please complete the following information]:** -- OS: e.g. [Ubuntu 18.04] -- Language Version: [e.g. Python 3.8] -- Virtual environment: [e.g. Conda] +- OS: e.g. [Ubuntu 18.04] +- Language Version: [e.g. Python 3.8] +- Virtual environment: [e.g. Conda] **Additional context** diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 4214c3b8..0bafff61 100755 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -4,10 +4,10 @@ -- [ ] This comment contains a description of changes (with reason) -- [ ] Referenced issue is linked -- [ ] If you've fixed a bug or added code that should be tested, add tests! -- [ ] Documentation in `docs` is updated +- [ ] This comment contains a description of changes (with reason) +- [ ] Referenced issue is linked +- [ ] If you've fixed a bug or added code that should be tested, add tests! +- [ ] Documentation in `docs` is updated **Description of changes**