mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 23:50:12 +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
|
|
@ -8,7 +8,7 @@ from pathlib import Path
|
|||
def get_unused_ignores():
|
||||
"""Run mypy and extract all unused-ignore errors."""
|
||||
result = subprocess.run(
|
||||
['python', '-m', 'mypy', 'code/web/', '--show-error-codes'],
|
||||
['python', '-m', 'mypy', 'code', '--show-error-codes'],
|
||||
capture_output=True,
|
||||
text=True,
|
||||
cwd=Path(__file__).parent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue