Skip to content
Snippets Groups Projects
Commit cd417a46 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][prefix] Silence correctly warnings on files used for bad behaviour tests

parent 0c9d4a8e
No related branches found
No related tags found
1 merge request!62Code cleanup
......@@ -34,6 +34,9 @@
###################################################################################
# flake8: noqa code must trigger a crash
class Algorithm:
def process(self, inputs, outputs):
a = b
......
......@@ -34,6 +34,9 @@
###################################################################################
# flake8: noqa
class Algorithm:
def process(self, inputs, outputs):
error # this error is here on testing purposes
......
......@@ -34,7 +34,9 @@
###################################################################################
# flake8: noqa
# The following line will produce a SyntaxError
class Algorithm;
def process(self, inputs, outputs):
......
......@@ -34,5 +34,8 @@
###################################################################################
# flake8: noqa
class View; # <-- syntax error!
def next(self): return True
def next(self):
return True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment