Skip to content

Commit

Permalink
Update linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Natim authored and willbarton committed Jun 7, 2023
1 parent 0c0aa28 commit 2667995
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions flags/sources.py
Expand Up @@ -75,8 +75,7 @@ def check_state(self, **kwargs):
name=self.name,
state=state,
conditions=", ".join(
f"{c.condition} ({v})"
for c, v in checked_conditions
f"{c.condition} ({v})" for c, v in checked_conditions
),
conditions_plural="s" if len(self.conditions) > 1 else "",
)
Expand Down Expand Up @@ -121,9 +120,7 @@ class DatabaseCondition(Condition):
"""Condition that includes the FlagState database object"""

def __init__(self, condition, value, required=False, obj=None):
super().__init__(
condition, value, required=required
)
super().__init__(condition, value, required=required)
self.obj = obj


Expand Down

0 comments on commit 2667995

Please sign in to comment.