File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 99 - id : check-yaml
1010
1111 - repo : https://github.com/Zac-HD/shed
12- rev : 2024.1 .1
12+ rev : 2024.3 .1
1313 hooks :
1414 - id : shed
1515 additional_dependencies : [ 'black~=24.3' ]
Original file line number Diff line number Diff line change @@ -150,11 +150,9 @@ def _should_add_validation_error_response(self) -> bool:
150150 OpenApiFilterExtension .get_match (backend ) for backend in filter_backends
151151 ]
152152 has_filters = any (
153- [
154- filter_extension .get_schema_operation_parameters (self )
155- for filter_extension in filter_extensions
156- if filter_extension
157- ]
153+ filter_extension .get_schema_operation_parameters (self )
154+ for filter_extension in filter_extensions
155+ if filter_extension
158156 )
159157 has_extra_validation_errors = bool (self ._get_extra_validation_errors ())
160158 return has_request_body or has_filters or has_extra_validation_errors
You can’t perform that action at this time.
0 commit comments