Skip to content

Commit 013b758

Browse files
authored
remove todo comments that are already handled (#434)
remove todo comments
1 parent 0d9fd81 commit 013b758

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/core_codemods/django_receiver_on_top.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ def leave_FunctionDef(
1919
) -> Union[
2020
cst.BaseStatement, cst.FlattenSentinel[cst.BaseStatement], cst.RemovalSentinel
2121
]:
22-
# TODO: add filter by include or exclude that works for nodes
23-
# that that have different start/end numbers.
2422
maybe_receiver_with_index = None
2523
for i, decorator in enumerate(original_node.decorators):
2624
if self.find_base_name(decorator.decorator) == "django.dispatch.receiver":

src/core_codemods/remove_assertion_in_pytest_raises.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ def leave_With(
9393
) -> Union[
9494
cst.BaseStatement, cst.FlattenSentinel[cst.BaseStatement], cst.RemovalSentinel
9595
]:
96-
# TODO: add filter by include or exclude that works for nodes
97-
# that that have different start/end numbers.
98-
99-
# Are all items pytest.raises?
10096
if not self._all_pytest_raises(original_node):
10197
return updated_node
10298

0 commit comments

Comments
 (0)