From 9b3c7c8f6e8123a5cc2e605ea450da37e8e7d2e7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 20:01:34 +0000 Subject: [PATCH 1/2] ci: pre-commit auto-update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.4 → v0.8.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.4...v0.8.3) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f32d624..6869d68 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.4 + rev: v0.8.3 hooks: - id: ruff - id: ruff-format From 3dd62ecc5f0df1fe7ef2f87b42eff882006c880d Mon Sep 17 00:00:00 2001 From: "Jason M. Gates" Date: Tue, 3 Dec 2024 14:17:31 -0700 Subject: [PATCH 2/2] style: Sort imports Discovered by ruff: staged_script/__init__.py:21:11: RUF022 [*] `__all__` is not sorted | 19 | ) 20 | 21 | __all__ = [ | ___________^ 22 | | "StagedScript", 23 | | "HelpFormatter", 24 | | "RetryStage", 25 | | "StageDuration", 26 | | ] | |_^ RUF022 27 | __version__ = "2.0.0" | = help: Apply an isort-style sorting to `__all__` --- staged_script/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staged_script/__init__.py b/staged_script/__init__.py index f59e813..e59b24b 100644 --- a/staged_script/__init__.py +++ b/staged_script/__init__.py @@ -12,16 +12,16 @@ # SPDX-License-Identifier: BSD-3-Clause from .staged_script import ( - StagedScript, HelpFormatter, RetryStage, StageDuration, + StagedScript, ) __all__ = [ - "StagedScript", "HelpFormatter", "RetryStage", "StageDuration", + "StagedScript", ] __version__ = "2.0.0"