Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Commit c30bec4

Browse files
committed
Remove deprecated dummy runner alias
1 parent b0610fc commit c30bec4

2 files changed

Lines changed: 1 addition & 16 deletions

File tree

src/styxdefs/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
""".. include:: ../../README.md""" # noqa: D415
22

3-
from .dry_runner import (
4-
DryRunner,
5-
DummyRunner,
6-
)
73
from .global_state import (
84
get_global_runner,
95
set_global_runner,
@@ -28,7 +24,6 @@
2824
"Runner",
2925
"LocalRunner",
3026
"DryRunner",
31-
"DummyRunner",
3227
"get_global_runner",
3328
"set_global_runner",
3429
"StyxRuntimeError",

src/styxdefs/dry_runner.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Dummy runner for debugging purposes."""
1+
"""Dry runner for debugging purposes."""
22

33
import pathlib
44
import typing
@@ -40,13 +40,3 @@ def run(
4040
) -> None:
4141
"""Execute command (in this dry runner this only captures the outputs)."""
4242
self.last_cargs = cargs
43-
44-
45-
def DummyRunner(): # noqa
46-
from warnings import warn
47-
48-
warn(
49-
"The DummyRunner alias will be removed in a future version of styxdefs! "
50-
"Please use the new name DryRunner."
51-
)
52-
return DryRunner()

0 commit comments

Comments
 (0)