mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2026-01-11 20:18:51 +01:00
fix(lint): improved type checking and code maintainability
This commit is contained in:
parent
83fe527979
commit
40023e93b8
62 changed files with 187 additions and 197 deletions
|
|
@ -3,12 +3,12 @@
|
|||
## [Unreleased]
|
||||
|
||||
### Summary
|
||||
Web UI improvements with Tailwind CSS migration, TypeScript conversion, component library, enhanced code quality standards, and optional card image caching for faster performance and better maintainability.
|
||||
Web UI improvements with Tailwind CSS migration, TypeScript conversion, component library, enhanced code quality tools, and optional card image caching for faster performance and better maintainability.
|
||||
|
||||
### 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
|
||||
|
|
@ -51,9 +51,9 @@ Web UI improvements with Tailwind CSS migration, TypeScript conversion, componen
|
|||
- Hot reload enabled for templates and static files
|
||||
- Volume mounts for rapid iteration without rebuilds
|
||||
- **Template Modernization**: Migrated templates to use component system
|
||||
- **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
|
||||
- **Intelligent Synergy Builder**: Analyze multiple builds and create optimized "best-of" deck
|
||||
- Scores cards by frequency (50%), EDHREC rank (25%), and theme tags (25%)
|
||||
- 10% bonus for cards appearing in 80%+ of builds
|
||||
|
|
@ -78,10 +78,10 @@ Web UI improvements with Tailwind CSS migration, TypeScript conversion, componen
|
|||
_None_
|
||||
|
||||
### 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
|
||||
|
||||
### Performance
|
||||
- Hot reload for CSS/template changes (no Docker rebuild needed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue