Skip to content

Fix flake8 violations blocking PyLint/build (3.11) workflow#944

Draft
Copilot wants to merge 1 commit into
mainfrom
copilot/fix-pylint-build-failure
Draft

Fix flake8 violations blocking PyLint/build (3.11) workflow#944
Copilot wants to merge 1 commit into
mainfrom
copilot/fix-pylint-build-failure

Conversation

Copilot AI commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

The PyLint / build (3.11) Actions job was failing due to flake8 errors introduced in backend service files. This PR removes the specific lint violations causing the workflow failure without changing runtime behavior.

  • Lint blocker in chat_service.py

    • Removed an unused import (extract_usage_from_stream_chunk) from common.logging.llm_token_telemetry.
  • Whitespace violations in history_service.py

    • Removed trailing-whitespace-only blank lines flagged by flake8 (W293) in the title-generation path.
from common.logging.llm_token_telemetry import (
    TokenUsageScope,
    extract_usage_from_dict,
)

Copilot AI changed the title [WIP] Fix failing GitHub Actions job PyLint / build (3.11) Fix flake8 violations blocking PyLint/build (3.11) workflow Jun 2, 2026
Copilot AI requested a review from Ashwal-Microsoft June 2, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants