Skip to content

Commit

Permalink
Fix grammatical issues in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed Oct 6, 2023
1 parent acb1def commit 3bd6611
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions binharness/types/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ExecutorEnvironmentMismatchError(ExecutorError):


class Executor(ABC):
"""A Executor is a way to run a target in an environment."""
"""An Executor is a way to run a target in an environment."""

@abstractmethod
def run_target(self: Executor, target: Target) -> Process:
Expand All @@ -31,7 +31,7 @@ def run_target(self: Executor, target: Target) -> Process:


class InjectableExecutor(Executor, Injection):
"""InjectableExecutor is a Executor that must be injected into an environment."""
"""InjectableExecutor is an Executor that must be injected into an environment."""

@abstractmethod
def _run_target(self: InjectableExecutor, target: Target) -> Process:
Expand All @@ -48,7 +48,7 @@ def run_target(self: InjectableExecutor, target: Target) -> Process:


class NullExecutor(Executor):
"""NullExecutor is a Executor that just runs the target as a command."""
"""NullExecutor is an Executor that just runs the target as a command."""

def run_target(self: NullExecutor, target: Target) -> Process:
"""Run a target in an environment without any wrappers."""
Expand Down

0 comments on commit 3bd6611

Please sign in to comment.