diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 13cb53cb..2f081254 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: - id: text-unicode-replacement-char - repo: https://github.com/codespell-project/codespell - rev: v2.2.5 + rev: v2.2.6 hooks: - id: codespell args: ["--write-changes"] @@ -41,13 +41,13 @@ repos: exclude: "src/stpipe/extern/.*" - repo: https://github.com/asottile/pyupgrade - rev: 'v3.13.0' + rev: 'v3.14.0' hooks: - id: pyupgrade args: ["--py38-plus"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.0.291' + rev: 'v0.0.292' hooks: - id: ruff args: ["--fix"] diff --git a/src/stpipe/step.py b/src/stpipe/step.py index 20be5df9..2145eca2 100644 --- a/src/stpipe/step.py +++ b/src/stpipe/step.py @@ -1474,7 +1474,7 @@ def preserve_step_pars(step): """Context manager to preserve step parameters Ensure step parameters are not modified during a block - of operations. Allows local re-use of a Step instance without + of operations. Allows local reuse of a Step instance without having to worry about side-effects on that Step. If used with a `Pipeline`, all substep parameters are also restored.