diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml new file mode 100644 index 00000000..30bfdd54 --- /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/.pre-commit-config.yaml b/.pre-commit-config.yaml index cc4a88cd..47cb46b6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,12 +8,12 @@ repos: - id: check-toml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.13.3 + rev: v0.14.5 hooks: - id: ruff-check args: [--fix] - id: ruff-format - repo: https://github.com/numpy/numpydoc - rev: "v1.9.0" + rev: "v1.10.0" hooks: - id: numpydoc-validation diff --git a/doc/changes/DM-54879.feature.md b/doc/changes/DM-54879.feature.md deleted file mode 100644 index ea2a123b..00000000 --- a/doc/changes/DM-54879.feature.md +++ /dev/null @@ -1 +0,0 @@ -Added `--retained-dataset-types` option to `pipetask qgraph` and `pipetask run`. diff --git a/doc/changes/DM-55320.feature.md b/doc/changes/DM-55320.feature.md deleted file mode 100644 index b33c6204..00000000 --- a/doc/changes/DM-55320.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add --prune-unanchored-quanta option to pipetask qgraph diff --git a/doc/lsst.ctrl.mpexec/CHANGES.rst b/doc/lsst.ctrl.mpexec/CHANGES.rst index c774c7c8..497e8403 100644 --- a/doc/lsst.ctrl.mpexec/CHANGES.rst +++ b/doc/lsst.ctrl.mpexec/CHANGES.rst @@ -1,3 +1,13 @@ +lsst-ctrl-mpexec v30.0.9 (2026-07-14) +===================================== + +New Features +------------ + +- Added ``--retained-dataset-types`` option to ``pipetask qgraph`` and ``pipetask run``. (`DM-54879 `_) +- Added ``--prune-unanchored-quanta`` option to ``pipetask qgraph`` (`DM-55320 `_) + + lsst-ctrl-mpexec v30.0.1 (2026-02-03) ===================================== diff --git a/python/lsst/ctrl/mpexec/mpGraphExecutor.py b/python/lsst/ctrl/mpexec/mpGraphExecutor.py index 0d73fd55..c897fdb4 100644 --- a/python/lsst/ctrl/mpexec/mpGraphExecutor.py +++ b/python/lsst/ctrl/mpexec/mpGraphExecutor.py @@ -76,7 +76,6 @@ class MPGraphExecutor(lsst.pipe.base.mp_graph_executor.MPGraphExecutor): This is a deprecated backwards-compatibility shim for `lsst.pipe.base.mp_graph_executor.MPGraphExecutor`, which has the same functionality with very minor interface changes. - """ def __init__( diff --git a/python/lsst/ctrl/mpexec/singleQuantumExecutor.py b/python/lsst/ctrl/mpexec/singleQuantumExecutor.py index b5d6c272..3e40e5cf 100644 --- a/python/lsst/ctrl/mpexec/singleQuantumExecutor.py +++ b/python/lsst/ctrl/mpexec/singleQuantumExecutor.py @@ -108,7 +108,6 @@ class SingleQuantumExecutor(lsst.pipe.base.single_quantum_executor.SingleQuantum This is a deprecated backwards-compatibility shim for `lsst.pipe.base.single_quantum_executor.SingleQuantumExecutor`, which has the same functionality with very minor interface changes. - """ def __init__(