paper-dynasty-discord/in_game
Cal Corum 740ea93b34
All checks were successful
Build Docker Image / build (pull_request) Successful in 1m26s
fix: batch cleanup — dead code, bare excepts, empty stubs (#25, #32, #37, #38)
Fixes #25, Fixes #32, Fixes #37, Fixes #38

- Remove unused PLAYER_CACHE = {} from api_calls.py (issue #37)
- Remove dead select_speed_testing() and select_all_testing() functions
  with their debug print() statements from gameplay_models.py (issue #32)
- Remove empty if-pass stubs after db_post calls in logic_gameplay.py (issue #38)
- Replace 10 bare except: clauses with except Exception: in gameplay_queries.py (issue #25)
- Add ruff.toml to configure pre-commit hook for existing codebase patterns
  (F403/F405 from intentional star imports, F541/F401/F841/E712 cosmetic)
- Fix E713 in logic_gameplay.py (not x in [...] -> x not in [...]) required
  by the pre-commit hook on the file already being touched

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 23:23:09 -05:00
..
ai_manager.py Add pitcher validation with rank retry in get_starting_pitcher 2026-01-30 14:04:03 -06:00
data_cache.py Update logging to RotatingFileHandler 2024-11-09 23:14:54 -06:00
game_helpers.py Helpers checks 2025-01-24 10:08:35 -06:00
gameplay_models.py fix: batch cleanup — dead code, bare excepts, empty stubs (#25, #32, #37, #38) 2026-03-22 23:23:09 -05:00
gameplay_queries.py fix: batch cleanup — dead code, bare excepts, empty stubs (#25, #32, #37, #38) 2026-03-22 23:23:09 -05:00
managerai_responses.py Batter subs plus cleanup 2024-12-23 10:09:11 -06:00
simulations.py Update api logging 2024-11-16 00:31:54 -06:00