Skip to content

Commit

Permalink
add fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
hoel-bagard committed Mar 9, 2024
1 parent 98fd8be commit 6775779
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/ruff_linter/resources/test/fixtures/pycodestyle/E20.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,6 @@

#: E203:1:13
f"{ham[lower + 1 :, "columnname"]}"

#: E999:1:10 (SyntaxError). Should not cause an infinite loop.
a = (1 or)
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ E20.py:161:17: E203 [*] Whitespace before ':'
160 | #: E203:1:13
161 | f"{ham[lower + 1 :, "columnname"]}"
| ^^ E203
162 |
163 | #: E999:1:10 (SyntaxError). Should not cause an infinite loop.
|
= help: Remove whitespace before ':'

Expand All @@ -280,3 +282,6 @@ E20.py:161:17: E203 [*] Whitespace before ':'
160 160 | #: E203:1:13
161 |-f"{ham[lower + 1 :, "columnname"]}"
161 |+f"{ham[lower + 1:, "columnname"]}"
162 162 |
163 163 | #: E999:1:10 (SyntaxError). Should not cause an infinite loop.
164 164 | a = (1 or)

0 comments on commit 6775779

Please sign in to comment.