Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: 5.5.0
_commit: 5.6.0
_src_path: https://github.com/DiamondLightSource/python-copier-template
author_email: callum.forrester@diamond.ac.uk
author_name: Callum Forrester
Expand Down
6 changes: 6 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@
],
// Mount the parent as /workspaces so we can pip install peers as editable
"workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspaces,type=bind",
<<<<<<< before updating
// After the container is created, recreate the venv then make prek first run faster
"postCreateCommand": "uv venv --clear && uv sync && prek install --install-hooks"
=======
// After the container is created, recreate the venv then make pre-commit first run faster
// Ensure we use system uv, as there might be a different (old) version of uv in the venv
"postCreateCommand": "/usr/bin/uv venv --clear && /usr/bin/uv sync && pre-commit install --install-hooks"
>>>>>>> after updating
}
4 changes: 4 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ LLM generated code must be disclosed.
Documentation is intended for people to read and it is strongly recommended that
it is written manually.

<<<<<<< before updating
If it helps ensure the documentation stays in sync with the code, LLMs may be
used to review new docs for correctness/completeness or to ensure code changes
update any relevant docs.
=======
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/5.6.0/how-to.html).
>>>>>>> after updating
16 changes: 16 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ Documentation is split into [four categories](https://diataxis.fr), also accessi
:maxdepth: 2
tutorials
```
<<<<<<< before updating

+++
=======
:::{card-footer}
>>>>>>> after updating
Tutorials for installation and typical usage. New users start here.
:::

Expand All @@ -32,8 +36,12 @@ Tutorials for installation and typical usage. New users start here.
:maxdepth: 2
how-to
```
<<<<<<< before updating

+++
=======
:::{card-footer}
>>>>>>> after updating
Practical step-by-step guides for the more experienced user.
:::

Expand All @@ -43,8 +51,12 @@ Practical step-by-step guides for the more experienced user.
:maxdepth: 2
explanations
```
<<<<<<< before updating

+++
=======
:::{card-footer}
>>>>>>> after updating
Explanations of how it works and why it works that way.
:::

Expand All @@ -54,8 +66,12 @@ Explanations of how it works and why it works that way.
:maxdepth: 2
reference
```
<<<<<<< before updating

+++
=======
:::{card-footer}
>>>>>>> after updating
Technical reference material including APIs and release notes.
:::

Expand Down
22 changes: 20 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
[build-system]
requires = ["setuptools>=64", "setuptools_scm[toml]>=8"]
requires = ["setuptools>=77.0.3", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"

[project]
name = "blueapi"
classifiers = [
<<<<<<< before updating
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
=======
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
>>>>>>> after updating
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
Expand All @@ -31,7 +37,8 @@ dependencies = [
"packaging",
]
dynamic = ["version"]
license.file = "LICENSE"
license = "Apache-2.0"
license-files = ["LICENSE"]
readme = "README.md"
requires-python = ">=3.13"

Expand Down Expand Up @@ -71,8 +78,12 @@ dev = [
"sphinx-copybutton",
"sphinx-click",
"sphinx-design",
<<<<<<< before updating
"sphinxcontrib-openapi",
"tox-uv",
=======
"tox-uv-bare",
>>>>>>> after updating
"types-mock",
"types-PyYAML",
"types-requests",
Expand Down Expand Up @@ -139,6 +150,13 @@ env_list = ["pre-commit", "type-checking", "tests", "docs"]
[tool.tox.env_run_base]
# Pass all environment variables to the test environments
passenv = ["*"]
allowlist_externals = [
"pyright",
"pytest",
"pre-commit",
"sphinx-build",
"sphinx-autobuild",
]

[tool.tox.env.pre-commit]
description = "Run pre-commit (prek) on all files"
Expand Down
Loading