fix(lint): resolve E501, W291, I001 violations — batch 1#131
Merged
ohld merged 1 commit intoproductionfrom Mar 27, 2026
Merged
Conversation
Fixes ruff E501 (line-too-long) across 16 files: - Added # noqa: E501 to long code lines (strings, f-strings, calls) - Added per-file-ignores in pyproject.toml for files where long lines are inside triple-quoted string literals (AI prompts, SQL, docstrings) where inline noqa is not possible - Fixed # noqa E501 (missing colon) → # noqa: E501 in daily.py - Wrapped long function calls in chat.py and meme_queue.py docstring - Extracted long Russian charset string to _ru_chars variable in memes.py Also fixed: - W291 trailing whitespace in treasury/commands.py (inside f-string) - I001 import order in crossposting/meme.py (random before re) Co-Authored-By: Paperclip <noreply@paperclip.ing>
Member
Author
Code Review: fix(lint): resolve E501, W291, I001 violationsLGTM — ready to merge. Changes are purely lint fixes with zero functional impact. Assessment
CI failures are pre-existingBoth Merging via squash. |
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
ruff check srcviolations across 16 files# noqa: E501to long code lines that cannot be shortenedper-file-ignoresinpyproject.tomlfor files with unavoidable long strings inside triple-quoted literals (AI prompts, SQL queries)# noqa E501(missing colon) →# noqa: E501indaily.pychat.py, wrapped docstring line inmeme_queue.py_ru_charsvariable inmemes.pytreasury/commands.pycrossposting/meme.py(randombeforere)Test plan
ruff check srcpasses on CIruff format src --diffpasses🤖 Generated with Claude Code