Skip to content

Exclude jsonrpyc directory from linting#210

Merged
kevinbackhouse merged 2 commits intoGitHubSecurityLab:mainfrom
kevinbackhouse:ruff-exclude-jsonrpyc
Apr 8, 2026
Merged

Exclude jsonrpyc directory from linting#210
kevinbackhouse merged 2 commits intoGitHubSecurityLab:mainfrom
kevinbackhouse:ruff-exclude-jsonrpyc

Conversation

@kevinbackhouse
Copy link
Copy Markdown
Collaborator

This directory contains 3rd party code, so it's better not to change it.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Ruff configuration to avoid linting a vendored/3rd-party directory (jsonrpyc) under the CodeQL MCP server code.

Changes:

  • Adds a Ruff exclude entry for src/seclab_taskflow_agent/mcp_servers/codeql/jsonrpyc/.
Show a summary per file
File Description
pyproject.toml Configures Ruff to skip linting the jsonrpyc directory.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread pyproject.toml Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 8, 2026 14:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s Ruff configuration to exclude a bundled third-party directory (jsonrpyc) from Ruff’s file discovery, preventing lint (and other Ruff operations) from touching vendored code.

Changes:

  • Add a Ruff extend-exclude entry for src/seclab_taskflow_agent/mcp_servers/codeql/jsonrpyc/.
Show a summary per file
File Description
pyproject.toml Extends Ruff’s exclusion list to skip the jsonrpyc third-party directory.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new

@kevinbackhouse kevinbackhouse merged commit edc1c4d into GitHubSecurityLab:main Apr 8, 2026
13 checks passed
@kevinbackhouse kevinbackhouse deleted the ruff-exclude-jsonrpyc branch April 8, 2026 16:35
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.

4 participants