New package: py-imbalanced-learn#35895
Merged
adamjstewart merged 6 commits intospack:developfrom Mar 8, 2023
Merged
Conversation
Contributor
Author
|
@spackbot fix style |
|
Let me see if I can fix that for you! |
|
I encountered an error attempting to format style. DetailsError: <class 'sh.ErrorReturnCode_123'>,
RAN: /tmp/tmp83t0t8uv/spack-develop/bin/spack --color never style --fix --root /tmp/tmp83t0t8uv/spack
STDOUT:
STDERR:
Stack trace:
File "/usr/local/lib/python3.7/site-packages/rq/worker.py", line 1359, in perform_job
rv = job.perform()
File "/usr/local/lib/python3.7/site-packages/rq/job.py", line 1178, in perform
self._result = self._execute()
File "/usr/local/lib/python3.7/site-packages/rq/job.py", line 1218, in _execute
coro_result = loop.run_until_complete(result)
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "./spackbot/workers.py", line 341, in fix_style_task
spack, ["--color", "never", "style", "--fix", "--root", check_dir]
File "./spackbot/helpers.py", line 164, in run_command
raise inst
File "./spackbot/helpers.py", line 157, in run_command
control(*cmd, _out=res, _err=err, _ok_code=ok_codes)
File "/usr/local/lib/python3.7/site-packages/sh.py", line 1524, in __call__
return RunningCommand(cmd, call_args, stdin, stdout, stderr)
File "/usr/local/lib/python3.7/site-packages/sh.py", line 788, in __init__
self.wait()
File "/usr/local/lib/python3.7/site-packages/sh.py", line 845, in wait
self.handle_command_exit_code(exit_code)
File "/usr/local/lib/python3.7/site-packages/sh.py", line 869, in handle_command_exit_code
raise exc
|
Contributor
Author
|
@spackbot fix style |
|
Let me see if I can fix that for you! |
|
I was able to run spack style --fix==> Running style checks on spack
selected: isort, black, flake8, mypy
==> Modified files
var/spack/repos/builtin/packages/py-imbalanced-learn/package.py
==> Running isort checks
isort checks were clean
==> Running black checks
reformatted var/spack/repos/builtin/packages/py-imbalanced-learn/package.py
All done! ✨ 🍰 ✨
1 file reformatted.
black checks were clean
==> Running flake8 checks
flake8 checks were clean
==> Running mypy checks
Success: no issues found in 576 source files
mypy checks were clean
==> spack style checks were clean
I've updated the branch with style fixes. |
tldahlgren
reviewed
Mar 6, 2023
Contributor
tldahlgren
left a comment
There was a problem hiding this comment.
Confirmed the sha256.
adamjstewart
requested changes
Mar 7, 2023
var/spack/repos/builtin/packages/py-imbalanced-learn/package.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Adam J. Stewart <[email protected]>
adamjstewart
approved these changes
Mar 7, 2023
jmcarcell
pushed a commit
to key4hep/spack
that referenced
this pull request
Apr 13, 2023
* New package: py-imbalanced-learn * Fix typo * [@spackbot] updating style on behalf of meyersbs * Update var/spack/repos/builtin/packages/py-imbalanced-learn/package.py Co-authored-by: Adam J. Stewart <[email protected]> --------- Co-authored-by: Adam J. Stewart <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.