8000 CI framework bug: Black formatting requires a local copy, unavailable in web-based PR submission · Issue #21169 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
CI framework bug: Black formatting requires a local copy, unavailable in web-based PR submission #21169
Closed
@lobpcg

Description

@lobpcg

Describe the bug

Web-based created PR is failing the black linting job with the cryptic error: "Bash exited with code '1'"

If there is no way around it, this looks like a bug in CI framework - breaking the ability of purely web-based PR submission and maintenance, which was available prior to requiring this black formatting check. Black appears to be the only check that requires a local copy of the PR, or at least of the files affected, and a local installation of software, black.

Steps/Code to Reproduce

Edit any *.py file in the mail repo in a web browser, follow the suggested steps to create a branch, and submit a PR.
The PR will fail the black linting job. There is no way around it in purely web-based workflow.

Expected Results

The purely web-based workflow should function without requiring any local copies or *.py and local software installations.

Actual Results

PR is failing the black linting job with the cryptic error: "Bash exited with code '1'"

Versions

The most current today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0