We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 927be10 commit 223adc7Copy full SHA for 223adc7
1 file changed
.internal/tests/fixtures/test_fail.py
@@ -0,0 +1,11 @@
1
+# test_fail.py
2
+import sys # Flake8 Error: 'sys' imported but unused
3
+import os
4
+
5
+def calculate_square (number): # Flake8 Error: extra space before opening parenthesis
6
7
+ result=number*number # Flake8 Error: missing whitespace around operator '='
8
+ print('The result is: ' + str(result)) # Black will want to change single quotes to double quotes
9
+ return result
10
11
+# Intentional trailing whitespace on the line below to trigger Flake8
0 commit comments