# mypy configuration for groovy-zilean # Type checking configuration that's practical for a Discord bot [mypy] # Python version python_version = 3.13 # Ignore missing imports for libraries without type stubs # Discord.py, spotipy, yt-dlp don't have complete type stubs ignore_missing_imports = True # Be strict about our own code # Start lenient, can tighten later disallow_untyped_defs = False check_untyped_defs = True # Too noisy with discord.py warn_return_any = False warn_unused_configs = True # Exclude patterns exclude = venv/ # Per-module overrides [mypy-discord.*] ignore_missing_imports = True [mypy-spotipy.*] ignore_missing_imports = True [mypy-yt_dlp.*] ignore_missing_imports = True