mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 15:40:12 +01:00
fix(lint): improved type checking and code quality (77% error reduction)
This commit is contained in:
parent
3c45a31aa3
commit
83fe527979
37 changed files with 423 additions and 303 deletions
|
|
@ -130,7 +130,7 @@ def sample_real_cards_for_theme(theme: str, limit: int, colors_filter: Optional[
|
|||
if allow_splash:
|
||||
off = ci - commander_colors
|
||||
if len(off) == 1:
|
||||
c["_splash_off_color"] = True # type: ignore
|
||||
c["_splash_off_color"] = True
|
||||
new_pool.append(c)
|
||||
continue
|
||||
pool = new_pool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue