Comment: F821 undefined name is done on purpose

Comment helps readers and `# noqa` silences linters
This commit is contained in:
cclauss 2017-07-26 12:44:30 +02:00 committed by GitHub
parent eb06e6ba51
commit 40776e5324

View File

@ -24,7 +24,7 @@ def handler_3(request):
@exception_handler_app.route('/4')
def handler_4(request):
foo = bar
foo = bar # noqa -- F821 undefined name 'bar' is done to throw exception
return text(foo)