Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
BenBrostoff committed Jan 29, 2024
1 parent 71cb575 commit 0f5f1f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion draftfast/optimizer.py
Expand Up @@ -39,7 +39,10 @@ def __init__(
self.lineup_constraints = lineup_constraints
self.banned_for_exposure = exposure_dict.get("banned", [])
self.locked_for_exposure = exposure_dict.get("locked", [])
self.custom_rules = (rule_set.custom_rules or []) + (settings.custom_rules or [])
self.custom_rules = (
(rule_set.custom_rules or []) +
(settings.custom_rules or [])
)
self.min_teams = rule_set.min_teams or settings.min_teams
self.min_matchups = rule_set.min_matchups or settings.min_matchups
self.position_per_team_rules = rule_set.position_per_team_rules
Expand Down

0 comments on commit 0f5f1f2

Please sign in to comment.