summaryrefslogtreecommitdiffstats
path: root/tools/lint/test/files/pylint/bad.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lint/test/files/pylint/bad.py')
-rw-r--r--tools/lint/test/files/pylint/bad.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/lint/test/files/pylint/bad.py b/tools/lint/test/files/pylint/bad.py
new file mode 100644
index 0000000000..61b69a49cf
--- /dev/null
+++ b/tools/lint/test/files/pylint/bad.py
@@ -0,0 +1,5 @@
+def foo():
+ useless_var = 1
+ useless_var = true
+ return "true"
+ print("unreachable") \ No newline at end of file