Fix flake8 E501: Line too long in server.py line 1053#24
Merged
Conversation
- Split long error message string at line 1053 - Ensure line length stays within 100 character limit - Fixes flake8 linting error Co-authored-by: trsdn <24534196+trsdn@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix flake8 E501: Line too long in server.py line 1053
Fix flake8 E501: Line too long in server.py line 1053
Sep 17, 2025
Copilot stopped work on behalf of
trsdn due to an error
September 17, 2025 16:43
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
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.
Resolves a flake8 linting error where line 1053 in
markitdown_mcp/server.pyexceeded the 100-character limit, causing CI/CD pipeline failures.Problem
The error message string for missing dependencies was 120 characters long, violating the project's flake8 configuration:
This caused the following linting error:
Solution
Split the long string across multiple lines using Python's implicit string concatenation with parentheses:
Changes
Verification
The fix is minimal and surgical, affecting only the problematic line while maintaining all existing functionality and code quality standards.
Fixes #22.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.