diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml new file mode 100644 index 000000000..30bfdd547 --- /dev/null +++ b/.github/workflows/pre-commit.yaml @@ -0,0 +1,26 @@ +name: Run pre-commit + +on: + push: + branches: + - main + pull_request: + +permissions: + contents: read + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: "3.13" + + - name: Run prek + uses: j178/prek-action@v2 + with: + extra_args: --all-files diff --git a/doc/changes/DM-54879.feature.md b/doc/changes/DM-54879.feature.md deleted file mode 100644 index 704eb13c2..000000000 --- a/doc/changes/DM-54879.feature.md +++ /dev/null @@ -1 +0,0 @@ -Added `retained_dataset_types` parameter to `QuantumGraphBuilder` and `SeparablePipelineExecutor`. diff --git a/doc/changes/DM-55232.bugfix.md b/doc/changes/DM-55232.bugfix.md deleted file mode 100644 index 246cade9c..000000000 --- a/doc/changes/DM-55232.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Fix zstd failure in `butler aggregate-graph` when logs are really huge. diff --git a/doc/changes/DM-55320.feature.md b/doc/changes/DM-55320.feature.md deleted file mode 100644 index 65605d54a..000000000 --- a/doc/changes/DM-55320.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add prune_unanchored_quanta parameter to QuantumGraphBuilder diff --git a/doc/lsst.pipe.base/CHANGES.rst b/doc/lsst.pipe.base/CHANGES.rst index 7b53a6388..0ff81d2c2 100644 --- a/doc/lsst.pipe.base/CHANGES.rst +++ b/doc/lsst.pipe.base/CHANGES.rst @@ -1,3 +1,19 @@ +lsst-pipe-base v30.0.9 (2026-07-14) +=================================== + +New Features +------------ + +- Added ``retained_dataset_types`` parameter to ``QuantumGraphBuilder`` and ``SeparablePipelineExecutor``. (`DM-54879 `_) +- Added ``prune_unanchored_quanta`` parameter to ``QuantumGraphBuilder`` (`DM-55320 `_) + + +Bug Fixes +--------- + +- Fixed zstd failure in ``butler aggregate-graph`` when logs are really huge. (`DM-55232 `_) + + lsst-pipe-base v30.0.8 (2026-06-09) =================================== diff --git a/pyproject.toml b/pyproject.toml index c772c1154..b097bc2f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -196,6 +196,7 @@ checks = [ "RT02", # Does not want named return value. DM style says we do. "SS05", # pydocstyle is better at finding infinitive verb. "RT03", # sphinx bug requiring empty Returns. + "PR04", # We use type annotations. ] exclude = [ '^__init__$', diff --git a/python/lsst/pipe/base/quantum_graph/_provenance.py b/python/lsst/pipe/base/quantum_graph/_provenance.py index 5e18bb03c..467602f5f 100644 --- a/python/lsst/pipe/base/quantum_graph/_provenance.py +++ b/python/lsst/pipe/base/quantum_graph/_provenance.py @@ -2455,7 +2455,7 @@ def make_blocked(cls, quantum_id: uuid.UUID) -> ProvenanceQuantumScanData: Parameters ---------- quantum_id : `uuid.UUID` - Unique ID of the quantum + Unique ID of the quantum. Returns -------