Skip to content

Commit b1ea77f

Browse files
committed
linting
1 parent d1f73aa commit b1ea77f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

flask_pydantic_spec/flask_backend.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,9 @@ def validate(
195195

196196
before(request, response, req_validation_error, None)
197197
if req_validation_error:
198-
assert response is not None # response is set when req_validation_error occurs
198+
assert (
199+
response is not None
200+
) # response is set when req_validation_error occurs
199201
abort(response)
200202

201203
response = make_response(func(*args, **kwargs))

0 commit comments

Comments
 (0)