Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
gdifiore committed Jul 22, 2024
1 parent 8cb9137 commit 6e870c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyball/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import subprocess


def post_install():
"""
Run the playwright install command.
Expand Down
2 changes: 1 addition & 1 deletion pyball/baseball_reference_team.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class BaseballReferenceTeamStatsScraper:
pitching_stats(self) -> Optional[pd.DataFrame]
Returns the pitching stats for the team as a pandas DataFrame.
"""

TABLE_IDS = {
'batting': 'team_batting',
'pitching': 'team_pitching'
Expand Down
1 change: 1 addition & 0 deletions pyball/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def is_bbref_team_url(url):
"""
return "teams" in url and "baseball-reference" in url


def make_savant_player_url(last, first, key_mlbam):
"""
Function to generate baseball savant url from last name, first name, and mlbam key
Expand Down

0 comments on commit 6e870c0

Please sign in to comment.