From 8f106b247a794632eb8c5a9a6238793f8c34e861 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 28 Oct 2025 12:42:27 +0000 Subject: [PATCH] chore(deps): update dependency https://github.com/diamondlightsource/python-copier-template to v4.3.0 --- .copier-answers.yml | 2 +- .github/CONTRIBUTING.md | 2 +- pyproject.toml | 13 +++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index d33a8e1387..84fee94e0a 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 4.1.0 +_commit: 4.3.0 _src_path: https://github.com/DiamondLightSource/python-copier-template author_email: callum.forrester@diamond.ac.uk author_name: Callum Forrester diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 9939045ac4..a606623851 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -24,4 +24,4 @@ It is recommended that developers use a [vscode devcontainer](https://code.visua This project was created using the [Diamond Light Source Copier Template](https://github.com/DiamondLightSource/python-copier-template) for Python projects. -For more information on common tasks like setting up a developer environment, running the tests, and setting a pre-commit hook, see the template's [How-to guides](https://diamondlightsource.github.io/python-copier-template/4.1.0/how-to.html). +For more information on common tasks like setting up a developer environment, running the tests, and setting a pre-commit hook, see the template's [How-to guides](https://diamondlightsource.github.io/python-copier-template/4.3.0/how-to.html). diff --git a/pyproject.toml b/pyproject.toml index ebcd970b2f..48f1bdcd3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -102,6 +102,7 @@ testpaths = "docs src tests" asyncio_mode = "auto" [tool.coverage.run] +patch = ["subprocess"] data_file = "/tmp/blueapi.coverage" omit = ["src/blueapi/startup/**/*"] @@ -138,6 +139,7 @@ commands = src = ["src", "tests"] line-length = 88 lint.select = [ +<<<<<<< before updating "B", # flake8-bugbear - https://docs.astral.sh/ruff/rules/#flake8-bugbear-b "C4", # flake8-comprehensions - https://docs.astral.sh/ruff/rules/#flake8-comprehensions-c4 "E", # pycodestyle errors - https://docs.astral.sh/ruff/rules/#error-e @@ -155,6 +157,17 @@ extend-immutable-calls = [ "fastapi.Body", "fastapi.Task", "dodal.common.inject", +======= + "B", # flake8-bugbear - https://docs.astral.sh/ruff/rules/#flake8-bugbear-b + "C4", # flake8-comprehensions - https://docs.astral.sh/ruff/rules/#flake8-comprehensions-c4 + "E", # pycodestyle errors - https://docs.astral.sh/ruff/rules/#error-e + "F", # pyflakes rules - https://docs.astral.sh/ruff/rules/#pyflakes-f + "N", # pep8-naming - https://docs.astral.sh/ruff/rules/#pep8-naming-n + "W", # pycodestyle warnings - https://docs.astral.sh/ruff/rules/#warning-w + "I", # isort - https://docs.astral.sh/ruff/rules/#isort-i + "UP", # pyupgrade - https://docs.astral.sh/ruff/rules/#pyupgrade-up + "SLF", # self - https://docs.astral.sh/ruff/settings/#lintflake8-self +>>>>>>> after updating ] [tool.ruff.lint.per-file-ignores]