diff --git a/testdata/error.py b/testdata/error.py new file mode 100644 index 0000000..fe66414 --- /dev/null +++ b/testdata/error.py @@ -0,0 +1,12 @@ +import os, sys # Multiple imports on one line (E401) + +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() \ No newline at end of file