Commit Graph

18 Commits

Author SHA1 Message Date
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
Cal Corum
bc4daeece1 fix: unpack range() objects in pitcher error rating checks
range() objects were used directly in list membership checks instead of
being unpacked with *, causing all pitcher error ratings in range values
(roughly e27+) to silently fail during x-checks. Also fixed two range
boundary mismatches on dice 12 and dice 6.

Closes #12

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 15:33:37 -06:00
Cal Corum
65abc8ed55 Remove outdate image links
Add S3 image links
Pull all fielding ratings at game start
2025-06-04 09:54:13 -05:00
Cal Corum
92a56017a9 Fixed pitcher error 2025-01-26 02:18:33 -06:00
Cal Corum
f40347e0bb Fixed chaos button bug
Added batting statline to batter & OT to catchers
2024-12-25 16:10:24 -06:00
Cal Corum
30e417d6f8 Fixed chaos bug 2024-12-24 23:31:13 -06:00
Cal Corum
95ee071ef8 Add DTwentyRoll
Add /log lineout
Add ManagerAi.tag_from_third()
2024-12-06 20:41:38 -06:00
Cal Corum
1e9e79916f Added /log frame-check
Fixed game-summary error
2024-12-06 11:56:56 -06:00
Cal Corum
8118b4a691 Added PO/FO to fielding roll
Complete /log xcheck and /log groundball
2024-12-06 00:46:49 -06:00
Cal Corum
d6d3d7beb0 Log stealing done
Log xchecks started
2024-11-25 13:17:51 -06:00
Cal Corum
7a718d45f0 AbRoll and JumpRoll objects
Add handedness to pitcher/batter
2024-11-20 21:31:31 -06:00
Cal Corum
f7685ff0e3 Added AbRoll and JumpRoll
Added auto_roll and roll_buttons to Game
Added log chaos
2024-11-17 14:57:54 -06:00
Cal Corum
15d63a63b2 Two error fixes 2024-07-26 16:54:14 -05:00
cal
0ec76c42ce Shrunk fielding check links 2024-07-17 16:06:01 -05:00
Cal Corum
714c47b877 Added /frame-pitch command 2023-10-17 21:19:38 -05:00
Cal Corum
d87ae98272 Catcher RP fix; other error fixes 2023-06-15 09:20:50 -05:00
Cal Corum
8faa5ec459 Update dice.py
Updated catcher chart to SBa chart
2023-05-02 16:29:18 -05:00
Cal Corum
0c638ae6a5
Initial commit 2023-02-19 21:34:38 -06:00