paper-dynasty-discord/tests/gameplay_models/test_batterscouting_model.py
Cal Corum ee80cd72ae fix: apply Black formatting and resolve ruff lint violations
Run Black formatter across 83 files and fix 1514 ruff violations:
- E722: bare except → typed exceptions (17 fixes)
- E711/E712/E721: comparison style fixes with noqa for SQLAlchemy (44 fixes)
- F841: unused variable assignments (70 fixes)
- F541/F401: f-string and import cleanup (1383 auto-fixes)

Remaining 925 errors are all F403/F405 (star imports) — structural,
requires converting to explicit imports in a separate effort.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 11:37:46 -05:00

22 lines
796 B
Python

# async def test_create_scouting(session: Session, sample_ratings_query):
# this_card = await get_card_or_none(session, card_id=1405)
# assert this_card.player.id == 395
# assert this_card.team.id == 31
# assert this_card.batterscouting.battingcard_id == sample_ratings_query["ratings"][0]['battingcard']['id']
# # this_scouting = await get_batter_scouting_or_none(session, this_card)
# # assert this_scouting.battingcard_id == sample_ratings_query["ratings"][0]['battingcard']['id']
# # this_card = await get_card_or_none(session, card_id=1406)
# # assert this_card.player.id == 161
# # assert this_card.team.id == 31
# # this_scouting = await get_pitcher_scouting_or_none(session, this_card)
# # assert this_scouting.pitchingcard_id == 4294