From ed06f6b8f0bc9cb4b6a697ee1f66cfe3691b9cf8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 14:42:27 -0700 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#161) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.4 → v0.8.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.4...v0.8.2) * Fix pre-commit issues --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kevin Phoenix --- .pre-commit-config.yaml | 7 +------ pyproject.toml | 1 - python/binharness/__init__.py | 2 +- python/binharness/types/__init__.py | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 358be6f..3ea6dd2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,16 +30,11 @@ repos: - id: validate-pyproject - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.4 + rev: v0.8.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] -- repo: https://github.com/cpendery/asort - rev: v0.1.3 - hooks: - - id: asort - - repo: https://github.com/psf/black rev: 24.10.0 hooks: diff --git a/pyproject.toml b/pyproject.toml index 7fc7053..c883fca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,7 +74,6 @@ ignore = [ "TD002", "TD003", ] -ignore-init-module-imports = true [tool.ruff.lint.isort] known-first-party = ["binharness"] diff --git a/python/binharness/__init__.py b/python/binharness/__init__.py index f3ba9c9..9930de8 100644 --- a/python/binharness/__init__.py +++ b/python/binharness/__init__.py @@ -32,6 +32,7 @@ ) __all__ = [ + "IO", "AgentConnection", "AgentEnvironment", "AgentProvider", @@ -42,7 +43,6 @@ "Executor", "ExecutorEnvironmentMismatchError", "ExecutorError", - "IO", "InjectableExecutor", "Injection", "InjectionAlreadyInstalledError", diff --git a/python/binharness/types/__init__.py b/python/binharness/types/__init__.py index 8e4c875..8f65ef5 100644 --- a/python/binharness/types/__init__.py +++ b/python/binharness/types/__init__.py @@ -22,12 +22,12 @@ from binharness.types.target import Target __all__ = [ + "IO", "Environment", "ExecutableInjection", "Executor", "ExecutorEnvironmentMismatchError", "ExecutorError", - "IO", "InjectableExecutor", "Injection", "InjectionAlreadyInstalledError",