From 003c182d3633df3da046361362fb250fa172c0ca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 31 May 2026 13:03:05 +0000 Subject: [PATCH 1/3] chore(deps): bump https://github.com/tox-dev/pyproject-fmt Bumps [https://github.com/tox-dev/pyproject-fmt](https://github.com/tox-dev/pyproject-fmt) from v2.21.2 to 2.23.0. - [Release notes](https://github.com/tox-dev/pyproject-fmt/releases) - [Commits](https://github.com/tox-dev/pyproject-fmt/compare/v2.21.2...v2.23.0) --- updated-dependencies: - dependency-name: https://github.com/tox-dev/pyproject-fmt dependency-version: 2.23.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f6ede32..a9d8a42 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.21.2" + rev: "v2.23.0" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/uv-pre-commit From 64b099c62cf44237f2af954420b2ea72a9527fd3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:39:21 +0000 Subject: [PATCH 2/3] fix: reformat pyproject.toml to match pyproject-fmt 2.23.0 output --- pyproject.toml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8e1117f..49cd0aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,24 +82,23 @@ keep_full_version = true max_supported_python = "3.14" [tool.mypy] -check_untyped_defs = true -disallow_any_generics = true -disallow_incomplete_defs = true -disallow_untyped_defs = true mypy_path = "src/" -no_implicit_optional = true -show_error_codes = true -warn_unreachable = true -warn_unused_ignores = true exclude = [ "setup.py", ] +disallow_any_generics = true +disallow_untyped_defs = true +disallow_incomplete_defs = true +check_untyped_defs = true +warn_unused_ignores = true +warn_unreachable = true overrides = [ { module = "tests.*", allow_untyped_defs = true }, ] +no_implicit_optional = true +show_error_codes = true [tool.pytest] -minversion = "9.0" addopts = [ "-Wonce", "--cov=camacqplugins", @@ -108,6 +107,7 @@ addopts = [ ] asyncio_default_fixture_loop_scope = "function" asyncio_mode = "auto" +minversion = "9.0" pythonpath = [ "src" ] [tool.coverage] From 15cff5760ac97c735cce10b03bf7987cc46ab51c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:03:40 +0000 Subject: [PATCH 3/3] fix: reorder semantic_release config in pyproject.toml per pyproject-fmt 2.23.0 --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 49cd0aa..aa26236 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -126,20 +126,23 @@ report.exclude_lines = [ ] [tool.semantic_release] +major_on_zero = false allow_zero_version = true -version_toml = [ "pyproject.toml:project.version" ] version_variables = [ "src/camacqplugins/__init__.py:__version__", ] +version_toml = [ "pyproject.toml:project.version" ] build_command = """ pip install uv uv lock git add uv.lock uv build """ +commit_parser_options.parse_squash_commits = false branches.main.match = "main" branches.noop.match = "(?!main$)" branches.noop.prerelease = true +changelog.environment.keep_trailing_newline = true changelog.exclude_commit_patterns = [ "chore(?:\\([^)]*?\\))?: .+", "ci(?:\\([^)]*?\\))?: .+", @@ -151,6 +154,3 @@ changelog.exclude_commit_patterns = [ "Initial [Cc]ommit.*", # codespell:ignore ] changelog.mode = "update" -changelog.environment.keep_trailing_newline = true -major_on_zero = false -commit_parser_options.parse_squash_commits = false