You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI framework bug: Black formatting requires a local copy, unavailable in web-based PR submission #21169
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'"
I agree we don't really support web based PRs. Happy to fix the issue with black if somebody comes up with a solution, but I don't think we need to keep this as an open issue.
Activity
glemaitre commentedon Sep 28, 2021
It is not a bug. I think that the current process is in line with our contributing guide: https://scikit-learn.org/stable/developers/contributing.html#contributing-code
IMO, I don't think that it is a good practice to rely on the GitHub web-based interface to make a contribution.
adrinjalali commentedon Oct 12, 2021
I agree we don't really support web based PRs. Happy to fix the issue with black if somebody comes up with a solution, but I don't think we need to keep this as an open issue.