Skip to content

capture_output=True collects stdout for every violation in these large repos, but the test never inspects stdout. Consider discarding stdout (e.g., redirect to DEVNULL) and only capturing stderr to reduce memory/IO overhead and avoid huge buffered output on larger repos. #60

Description

@steven-cutting

capture_output=True collects stdout for every violation in these large repos, but the test never inspects stdout. Consider discarding stdout (e.g., redirect to DEVNULL) and only capturing stderr to reduce memory/IO overhead and avoid huge buffered output on larger repos.

        stdout=subprocess.DEVNULL,
        stderr=subprocess.PIPE,

Originally posted by @copilot-pull-request-reviewer in #58 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions