Skip to content

Commit

Permalink
refactor!: remove 'release_notifications' backward compat shim
Browse files Browse the repository at this point in the history
BREAKING CHANGE: removed `taskgraph.transforms.release_notifications`
shim
  • Loading branch information
ahal committed Dec 4, 2023
1 parent bf98774 commit 9d1ccc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/taskgraph/transforms/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
from taskgraph.transforms import ( # noqa: Added for backwards compat
notify as release_notifications,
)
7 changes: 2 additions & 5 deletions test/test_transforms_notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import pytest

from taskgraph.transforms import release_notifications
from taskgraph.transforms import notify

TASK_DEFAULTS = {
"description": "fake description",
Expand Down Expand Up @@ -200,7 +200,4 @@ def test_transforms(
expected_task = deepcopy(TASK_DEFAULTS)
expected_task.update(expected_task_output)

assert (
run_transform(release_notifications.transforms, task, config)[0]
== expected_task
)
assert run_transform(notify.transforms, task, config)[0] == expected_task

0 comments on commit 9d1ccc5

Please sign in to comment.