Skip to content

Commit

Permalink
Add failing test to demonstrate list element comments not respected
Browse files Browse the repository at this point in the history
  • Loading branch information
samueljsb authored and amyreese committed Apr 5, 2024
1 parent 0b71925 commit 3bb7dd2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/fixit/tests/rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,22 @@ class C:
None,
None,
),
( # list elements
"""
[
# lint-fixme: ExerciseReport
...,
None,
]
[
..., # lint-fixme: ExerciseReport
None,
]
""",
None,
None,
),
):
idx += 1
content = dedent(code).encode("utf-8")
Expand Down

0 comments on commit 3bb7dd2

Please sign in to comment.