Skip to content

Commit

Permalink
chore: add test data
Browse files Browse the repository at this point in the history
  • Loading branch information
benny123tw committed Dec 24, 2024
1 parent a36d787 commit 35023af
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions testdata/error.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import os, sys # Multiple imports on one line (E401)

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / without-setup-uv

[ruff-github-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / without-setup-uv

[ruff-github-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / without-setup-uv

[ruff-github-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / without-setup-uv

[ruff-github-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.10)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.10)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.10)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.10)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.10)

[ruff-github-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.10)

[ruff-github-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.10)

[ruff-github-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.10)

[ruff-github-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.11)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.11)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.11)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.11)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.11)

[ruff-github-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.11)

[ruff-github-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.11)

[ruff-github-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.11)

[ruff-github-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.12)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.12)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.12)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.12)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.12)

[ruff-github-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.12)

[ruff-github-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.12)

[ruff-github-check] reported by reviewdog ๐Ÿถ Multiple imports on one line Raw Output: message:"Multiple imports on one line" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:1 column:15}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"E401" url:"https://docs.astral.sh/ruff/rules/multiple-imports-on-one-line"} suggestions:{range:{start:{line:1 column:1} end:{line:1 column:15}} text:"import os\nimport sys"}

Check warning on line 1 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.12)

[ruff-github-check] reported by reviewdog ๐Ÿถ Import block is un-sorted or un-formatted Raw Output: message:"Import block is un-sorted or un-formatted" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:1 column:1} end:{line:3 column:1}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"I001" url:"https://docs.astral.sh/ruff/rules/unsorted-imports"} suggestions:{range:{start:{line:1 column:1} end:{line:3 column:1}} text:"import os # Multiple imports on one line (E401)\nimport sys\n\n\n"}

def foo():
print("Hello, world!") # Print statement found (T201)

def bar():
x = { 'a': 1, 'b': 2 } # Whitespace inside braces (E201)
y = [1, 2, 3, ] # Trailing comma in list (E231)
return x, y

foo()
bar()

Check warning on line 12 in testdata/error.py

View workflow job for this annotation

GitHub Actions / without-setup-uv

[ruff-github-check] reported by reviewdog ๐Ÿถ No newline at end of file Raw Output: message:"No newline at end of file" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:12 column:6} end:{line:12 column:6}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"W292" url:"https://docs.astral.sh/ruff/rules/missing-newline-at-end-of-file"} suggestions:{range:{start:{line:12 column:6} end:{line:12 column:6}} text:"\n"}

Check warning on line 12 in testdata/error.py

View workflow job for this annotation

GitHub Actions / without-setup-uv

[ruff-github-check] reported by reviewdog ๐Ÿถ No newline at end of file Raw Output: message:"No newline at end of file" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:12 column:6} end:{line:12 column:6}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"W292" url:"https://docs.astral.sh/ruff/rules/missing-newline-at-end-of-file"} suggestions:{range:{start:{line:12 column:6} end:{line:12 column:6}} text:"\n"}

Check warning on line 12 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.10)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ No newline at end of file Raw Output: message:"No newline at end of file" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:12 column:6} end:{line:12 column:6}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"W292" url:"https://docs.astral.sh/ruff/rules/missing-newline-at-end-of-file"} suggestions:{range:{start:{line:12 column:6} end:{line:12 column:6}} text:"\n"}

Check warning on line 12 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.10)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ No newline at end of file Raw Output: message:"No newline at end of file" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:12 column:6} end:{line:12 column:6}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"W292" url:"https://docs.astral.sh/ruff/rules/missing-newline-at-end-of-file"} suggestions:{range:{start:{line:12 column:6} end:{line:12 column:6}} text:"\n"}

Check warning on line 12 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.11)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ No newline at end of file Raw Output: message:"No newline at end of file" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:12 column:6} end:{line:12 column:6}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"W292" url:"https://docs.astral.sh/ruff/rules/missing-newline-at-end-of-file"} suggestions:{range:{start:{line:12 column:6} end:{line:12 column:6}} text:"\n"}

Check warning on line 12 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.11)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ No newline at end of file Raw Output: message:"No newline at end of file" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:12 column:6} end:{line:12 column:6}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"W292" url:"https://docs.astral.sh/ruff/rules/missing-newline-at-end-of-file"} suggestions:{range:{start:{line:12 column:6} end:{line:12 column:6}} text:"\n"}

Check warning on line 12 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.12)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ No newline at end of file Raw Output: message:"No newline at end of file" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:12 column:6} end:{line:12 column:6}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"W292" url:"https://docs.astral.sh/ruff/rules/missing-newline-at-end-of-file"} suggestions:{range:{start:{line:12 column:6} end:{line:12 column:6}} text:"\n"}

Check warning on line 12 in testdata/error.py

View workflow job for this annotation

GitHub Actions / lint (3.12)

[ruff-github-pr-check] reported by reviewdog ๐Ÿถ No newline at end of file Raw Output: message:"No newline at end of file" location:{path:"/home/runner/work/action-ruff/action-ruff/testdata/error.py" range:{start:{line:12 column:6} end:{line:12 column:6}}} source:{name:"ruff" url:"https://docs.astral.sh/ruff"} code:{value:"W292" url:"https://docs.astral.sh/ruff/rules/missing-newline-at-end-of-file"} suggestions:{range:{start:{line:12 column:6} end:{line:12 column:6}} text:"\n"}

0 comments on commit 35023af

Please sign in to comment.