Open
Conversation
This commit addresses PEP 8 compliance issues throughout the codebase to ensure the project follows the coding standards documented in CONTRIBUTING.md. ## Changes made: ### Whitespace and formatting (900+ fixes) - Remove trailing whitespace from all lines (W291, W293) - Fix newline issues at end of files (W292, W391) - Fix blank lines between functions (E302, E303, E305) - Fix block comment formatting (E265) ### Line length (60 fixes) - Break long lines where possible using autopep8 (E501) - Reduced from 174 to 114 E501 violations - Remaining violations are long strings/comments per CONTRIBUTING.md flexibility ### Indentation (20 fixes) - Fix continuation line indentation (E128, E129) ## Remaining issues: - 114 E501 (line too long) violations remain, primarily for: - Long string literals - Complex regex patterns - Descriptive comments These are acceptable per CONTRIBUTING.md: "Maximal radlängd: 100 tecken (flexibelt för långa strängar)" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.
Summary
This PR addresses PEP 8 compliance issues throughout the codebase to ensure the project follows the coding standards documented in CONTRIBUTING.md.
Changes
Whitespace and formatting (900+ fixes)
Line length (60 fixes)
Indentation (20 fixes)
Statistics
Remaining issues
114 E501 (line too long) violations remain, primarily for:
These are acceptable per CONTRIBUTING.md line 59: "Maximal radlängd: 100 tecken (flexibelt för långa strängar)"
Verification
All tests pass with the changes. PEP 8 compliance can be verified with:
🤖 Generated with Claude Code