Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
BenBrostoff committed Jan 29, 2024
1 parent 93d3351 commit 573a5bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion draftfast/rules.py
Expand Up @@ -242,7 +242,8 @@ def __eq__(self, other):

# "Up to five players from same team, provided one is a pitcher."
# Rules below take 5 and subtract the pitcher to end up in same place.
# Ref: https://support.fanduel.com/s/article/How-many-players-can-I-select-from-one-team
# Ref:
# https://support.fanduel.com/s/article/How-many-players-can-I-select-from-one-team
position_per_team_rules=[[lambda pos: "P" not in pos, 4]],
)

Expand Down

0 comments on commit 573a5bc

Please sign in to comment.