Paper Dynasty Discord - Discord bot for card game
Go to file
Cal Corum 04d6cf3b5e fix: replace star imports with explicit named imports across codebase
Convert all `from x import *` to explicit imports in 12 files, resolving
925 F403/F405 ruff violations. Each name traced to its canonical source
module. Also fixes: duplicate Session import (players.py), missing
sample_team_data fixture param, duplicate method name paperdex_cardset_slash,
unused commands import in package __init__ files, and Play type hint in
play_lock.py.

3 pre-existing code bugs remain (F811 duplicate test names, F821 undefined
`question` variable) — these need investigation, not mechanical fixes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 12:48:07 -05:00
.gitea/workflows Update .gitea/workflows/docker-build.yml 2026-03-09 13:22:58 +00:00
.githooks feat: add /resend_scout admin command and pre-commit hooks 2026-03-09 10:39:08 -05:00
.plans Cogs to Packages Groundwork 2025-08-17 08:46:55 -05:00
.vscode Catchup commit 2025-07-22 09:22:19 -05:00
cogs fix: replace star imports with explicit named imports across codebase 2026-03-09 12:48:07 -05:00
command_logic fix: replace star imports with explicit named imports across codebase 2026-03-09 12:48:07 -05:00
discord_ui fix: apply Black formatting and resolve ruff lint violations 2026-03-09 11:37:46 -05:00
helpers fix: replace star imports with explicit named imports across codebase 2026-03-09 12:48:07 -05:00
in_game fix: replace star imports with explicit named imports across codebase 2026-03-09 12:48:07 -05:00
migrations Update cache refresh logic to replace vs delete 2025-02-23 22:50:58 -06:00
tests fix: replace star imports with explicit named imports across codebase 2026-03-09 12:48:07 -05:00
utilities fix: replace star imports with explicit named imports across codebase 2026-03-09 12:48:07 -05:00
.dockerignore fix: exclude utilities/supabase.py from production Docker image (#41) 2026-03-04 23:01:49 -06:00
.gitignore fix: add explicit .gitignore entry for service-creds.json (#40) 2026-03-03 12:36:26 -06:00
alembic.ini Added base alembic config 2024-10-11 16:42:15 -05:00
api_calls.py fix: apply Black formatting and resolve ruff lint violations 2026-03-09 11:37:46 -05:00
CLAUDE.md ci: Switch to CalVer (YYYY.MM.BUILD) with auto-generated versions 2026-02-17 16:36:53 -06:00
constants.py fix: apply Black formatting and resolve ruff lint violations 2026-03-09 11:37:46 -05:00
db_calls_gameplay.py fix: replace star imports with explicit named imports across codebase 2026-03-09 12:48:07 -05:00
deploy.sh Add HTTP health check endpoint for container monitoring 2025-11-12 14:44:53 -06:00
DEPLOYMENT.md Catchup files 2025-11-11 13:22:06 -06:00
dice.py fix: apply Black formatting and resolve ruff lint violations 2026-03-09 11:37:46 -05:00
discord_utils.py fix: apply Black formatting and resolve ruff lint violations 2026-03-09 11:37:46 -05:00
Dockerfile Added docker to environment 2024-10-12 02:04:30 -05:00
exceptions.py Implement play locking to prevent concurrent command processing 2026-02-03 23:13:40 -06:00
gauntlets.py fix: replace star imports with explicit named imports across codebase 2026-03-09 12:48:07 -05:00
health_server.py fix: apply Black formatting and resolve ruff lint violations 2026-03-09 11:37:46 -05:00
help_text.py fix: apply Black formatting and resolve ruff lint violations 2026-03-09 11:37:46 -05:00
helpers.py fix: replace star imports with explicit named imports across codebase 2026-03-09 12:48:07 -05:00
LICENSE Initial commit 2020-07-07 13:56:19 -05:00
manual_pack_distribution.py fix: apply Black formatting and resolve ruff lint violations 2026-03-09 11:37:46 -05:00
notify_restart.py Update restart notification message to be more accurate 2026-02-03 23:29:51 -06:00
paperdynasty.py fix: apply Black formatting and resolve ruff lint violations 2026-03-09 11:37:46 -05:00
play_lock.py fix: replace star imports with explicit named imports across codebase 2026-03-09 12:48:07 -05:00
PRODUCTION_COGS.md DOCS: Add production cogs documentation for future reference 2025-11-10 09:46:11 -06:00
pytest.ini Catchup commit 2025-07-22 09:22:19 -05:00
random_content.py fix: apply Black formatting and resolve ruff lint violations 2026-03-09 11:37:46 -05:00
requirements.txt Fix numpy CPU compatibility issue (X86_V2) 2026-01-08 14:04:18 -06:00
search_utils.py fix: apply Black formatting and resolve ruff lint violations 2026-03-09 11:37:46 -05:00
utils.py fix: apply Black formatting and resolve ruff lint violations 2026-03-09 11:37:46 -05:00
VERSION Update VERSION 2026-02-11 21:35:13 +00:00