Skip to content

Commit

Permalink
Merge "pylint: Skip two E1130 errors"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Jul 1, 2024
2 parents 27ce7a1 + 056b818 commit 0f649dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cinder/db/sqlalchemy/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def condition_not_db_filter(model, field, value, auto_none=True):
If auto_none is True then we'll consider NULL values as different as well,
like we do in Python and not like SQL does.
"""
result = ~condition_db_filter(model, field, value)
result = ~condition_db_filter(model, field, value) # pylint: disable=E1130

if auto_none and (
(
Expand Down Expand Up @@ -789,7 +789,7 @@ def _clustered_bool_field_filter(query, field_name, filter_value):
),
)
if not filter_value:
query_filter = ~query_filter
query_filter = ~query_filter # pylint: disable=E1130
query = query.filter(query_filter)
return query

Expand Down

0 comments on commit 0f649dc

Please sign in to comment.