Comment: F821 undefined name is done on purpose
Comment helps readers and `# noqa` silences linters
This commit is contained in:
parent
eb06e6ba51
commit
40776e5324
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user