fix(lint): improved type checking and code maintainability

This commit is contained in:
matt 2025-10-31 10:11:00 -07:00
parent 83fe527979
commit 40023e93b8
62 changed files with 187 additions and 197 deletions

View file

@ -9,9 +9,9 @@ This format follows Keep a Changelog principles and aims for Semantic Versioning
## [Unreleased]
### Added
- **Code Quality Improvements**: Enhanced type checking and code quality standards
- Configured gradual strict mode for Python type checking
- Created automated utilities for maintaining clean codebase
- **Code Quality Tools**: Enhanced development tooling for maintainability
- Automated utilities for code cleanup
- Improved type checking configuration
- **Card Image Caching**: Optional local image cache for faster card display
- Downloads card images from Scryfall bulk data (respects API guidelines)
- Graceful fallback to Scryfall API for uncached images
@ -76,22 +76,19 @@ This format follows Keep a Changelog principles and aims for Semantic Versioning
### Changed
- Migrated 5 templates to new component system (home, 404, 500, setup, commanders)
- **Type Checking Configuration**: Adjusted mypy settings for better developer experience
- Enabled gradual strict mode for incremental type safety improvements
- Configured per-module strict checks for new code
- **Type Checking Configuration**: Improved Python code quality tooling
- Configured type checker for better error detection
- Optimized linting rules for development workflow
### Fixed
- **Code Quality**: Resolved numerous type checking warnings and improved code maintainability
- Fixed critical type annotation bugs
- Removed outdated type ignore comments
- Corrected dictionary type definitions
- **Code Quality**: Resolved type checking warnings and improved code maintainability
- Fixed type annotation inconsistencies
- Cleaned up redundant code quality suppressions
- Corrected configuration conflicts
### Removed
_None_
### Fixed
_None_
### Performance
- Hot reload for CSS/template changes (no Docker rebuild needed)
- Optional image caching reduces Scryfall API calls