Skip to content

Commit

Permalink
fix W503 line break before binary operator
Browse files Browse the repository at this point in the history
  • Loading branch information
RuthShryock committed Sep 20, 2024
1 parent 709895b commit d8cfa8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kpi/mixins/object_permission.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,8 @@ def assign_perms(
parsed_perm = perm_parse(p, self)
fq_permission = f'{parsed_perm[0]}.{parsed_perm[1]}'
if (
not deny
and fq_permission not in settings.ALLOWED_ANONYMOUS_PERMISSIONS
not deny and
fq_permission not in settings.ALLOWED_ANONYMOUS_PERMISSIONS
):
raise serializers.ValidationError(
{
Expand Down

0 comments on commit d8cfa8f

Please sign in to comment.