Closed sweep-ai[bot] closed 1 year ago
setup.py
✗
Sandbox logs for
pre-commit install
1/2 ✓pre-commit installed at .git/hooks/pre-commit
pip install -e .
2/2 ❌ (`1`)Obtaining file:///repo Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [7 lines of output] Traceback (most recent call last): File "", line 2, in File " ", line 34, in File "/repo/setup.py", line 30 }, ^ SyntaxError: closing parenthesis '}' does not match opening parenthesis '(' on line 3 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.
[X] Check setup.py
✗
Run setup.py through the sandbox.
[X] Check setup.py
✗
Sandbox logs for
pre-commit install
1/2 ✓pre-commit installed at .git/hooks/pre-commit
pip install -e .
2/2 ❌ (`1`)Obtaining file:///repo Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [7 lines of output] Traceback (most recent call last): File "", line 2, in File " ", line 34, in File "/repo/setup.py", line 30 }, ^ SyntaxError: closing parenthesis '}' does not match opening parenthesis '(' on line 3 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.
PR Feedback (click)
I created this PR to address this rule:
"Code should follow a consistent coding style and formatting."
Description
This PR addresses the issue of inconsistent coding style and formatting in the setup.py file. The changes made include removing extra indentations, removing duplicated entry_points sections, and ensuring consistent coding style and formatting throughout the file.
Summary of Changes