Skip to content

Commit

Permalink
chore: pre-commit autoupdate (#98)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 29, 2024
1 parent 1e021ec commit 63cf1d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
)$
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black

Expand Down
3 changes: 1 addition & 2 deletions cron_ext/stores/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ def entries(self) -> tuple[str, ...]:

@entries.setter
@abstractmethod
def entries(self, new_entries: Iterable[str]) -> None:
...
def entries(self, new_entries: Iterable[str]) -> None: ...
6 changes: 2 additions & 4 deletions tests/test_cron_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ def meltano_project(tmp_path_factory: pytest.TempPathFactory) -> None:


class Invoker(Protocol):
def __call__(self, *args: str, expected_exit_code: int = ...) -> Result:
...
def __call__(self, *args: str, expected_exit_code: int = ...) -> Result: ...


@pytest.fixture(scope="session")
Expand All @@ -78,8 +77,7 @@ def invoker(*args: str, expected_exit_code: int = 0):
class CrontabContextManager(Protocol):
def __call__(
self, entries: Sequence[str], append: bool = ...
) -> Generator[None, None, None]:
...
) -> Generator[None, None, None]: ...


@contextmanager
Expand Down

0 comments on commit 63cf1d2

Please sign in to comment.