-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
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 GitHub Actions / without-setup-uv
Check warning on line 1 in testdata/error.py GitHub Actions / without-setup-uv
Check warning on line 1 in testdata/error.py GitHub Actions / without-setup-uv
Check warning on line 1 in testdata/error.py GitHub Actions / without-setup-uv
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.10)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.10)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.10)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.10)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.10)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.10)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.10)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.10)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.11)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.11)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.11)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.11)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.11)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.11)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.11)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.11)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.12)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.12)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.12)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.12)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.12)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.12)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.12)
Check warning on line 1 in testdata/error.py GitHub Actions / lint (3.12)
|
||
|
||
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 GitHub Actions / without-setup-uv
Check warning on line 12 in testdata/error.py GitHub Actions / without-setup-uv
Check warning on line 12 in testdata/error.py GitHub Actions / lint (3.10)
Check warning on line 12 in testdata/error.py GitHub Actions / lint (3.10)
Check warning on line 12 in testdata/error.py GitHub Actions / lint (3.11)
Check warning on line 12 in testdata/error.py GitHub Actions / lint (3.11)
Check warning on line 12 in testdata/error.py GitHub Actions / lint (3.12)
Check warning on line 12 in testdata/error.py GitHub Actions / lint (3.12)
|