style: fix all ruff check, format, and mypy errors#2
Conversation
…king blocks Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com>
|
@copilot fix the lint and test errors in the CI job. |
Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com>
Fixed in 1fe8688. The Note: The "Conventional Commits" check fails because the PR title needs a conventional prefix (e.g. |
|
@copilot can you fix the type checking errors in the lint job? |
Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com>
Fixed in cc654d4. All 7 mypy errors resolved:
|
Resolve all ruff lint, formatting, and mypy type checking errors across the codebase.
protocol.py,screens.py): Rewrap long lines — split debug call args, extract format string to local, move inline comment above codetui/app.py): ImportAwaitablefromcollections.abcand move intoTYPE_CHECKINGblocktui/auth_screen.py): MoveComposeResultintoTYPE_CHECKINGblock (only used in annotations,from __future__ import annotationsis active)tui/app.py): Fix import sort order as a side effect of the aboveruff format .across all 19 files that were not conforming to the canonical formatter style (source and test files)b2c_login.py): Wrapurlstring withyarl.URL()forfilter_cookieswhich expects aURLtypeheat_mode_screen.py,flame_speed_screen.py,fire_select_screen.py): Annotate Buttonvariantvariables withButtonVarianttype alias to satisfy theLiteralexpectationtui/app.py): AddNoneguard forsys.__stderr__before accessing.fileno(),.buffer, and.flush()💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.