Fix line length violations in tpaptransport.py debug logging#2
Merged
ZeliardM merged 4 commits intofeature/tpapfrom Dec 14, 2025
Merged
Fix line length violations in tpaptransport.py debug logging#2ZeliardM merged 4 commits intofeature/tpapfrom
ZeliardM merged 4 commits intofeature/tpapfrom
Conversation
Co-authored-by: ZeliardM <140266236+ZeliardM@users.noreply.github.com>
Co-authored-by: ZeliardM <140266236+ZeliardM@users.noreply.github.com>
Co-authored-by: ZeliardM <140266236+ZeliardM@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Ensure CI workflows pass with latest commits
Fix line length violations in tpaptransport.py debug logging
Dec 14, 2025
There was a problem hiding this comment.
Pull request overview
This PR addresses pre-commit check failures by fixing E501 line length violations in the TPAP transport module's debug logging statements and adds a missing coverage file to .gitignore.
- Split 9 long debug/warning log statements in
tpaptransport.pyacross multiple lines to comply with ruff's 88-character limit - Added
coverage.xmlto.gitignoreto prevent committing test artifacts
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
kasa/transports/tpaptransport.py |
Reformatted 9 debug/warning log statements to comply with 88-character line length limit by splitting them across multiple lines |
.gitignore |
Added coverage.xml to exclude pytest coverage reports from version control |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pre-commit checks were failing due to E501 line length violations (>88 chars) in TPAP debug logging statements added in previous commits.
Changes
coverage.xmlto prevent committing test artifactsExample
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
astral.sh/usr/bin/curl curl -LsSf REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 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.