Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sweep Rules] Fix inconsistent coding style and formatting in setup.py #15

Merged
merged 2 commits into from
Oct 31, 2023

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Oct 31, 2023

PR Feedback (click)

  • 👍 Sweep Did Well
  • 👎 Sweep Needs Improvement

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 following changes have been made:

  • Moved the import statement for find_packages back to its original position, before the import statement for setup.
  • Kept the console script entry point name as "pullingace" instead of changing it to "beyond_the_nest".

Summary of Changes

  • Modified setup.py to move the import statement for find_packages and change the console script entry point name.

Copy link
Contributor Author

sweep-ai bot commented Oct 31, 2023

Rollback Files For Sweep

  • Rollback changes to setup.py
  • Rollback changes to setup.py
  • Rollback changes to setup.py
  • Rollback changes to setup.py

@sweep-ai sweep-ai bot added the sweep label Oct 31, 2023
Copy link
Contributor Author

sweep-ai bot commented Oct 31, 2023

Sandbox Executions

  • 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.
  • 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.
  • 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.

@SoyGema SoyGema merged commit d2fcc5d into main Oct 31, 2023
0 of 2 checks passed
@SoyGema SoyGema deleted the sweep/fix-setup-py-formatting branch November 1, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant